serouja louba

Greenhorn
+ Follow
since Mar 31, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by serouja louba

Hello JavaRanch, any updates on this topic pleaseeeee!
thanks Henry,
I tried to follow the java tutorials http://docs.oracle.com/javase/tutorial/networking/nifs/listing.html, see my code below, please note that I'm using win7:



and what I'm getting is the below:

Rob Spoor wrote:You can use class NetworkInterface for that.



sorry, but I tried it and I was unable retrieve the connection name, could you please point me how to get?
Dear All,
I'm trying to disable and enable the network connection in my java application, i searched a lot how to do it as I'm a beginner but i didn't find a direct implementation in java to do it, i found the best approach is executing the below command:

netsh interface set interface <interface name> disable

but how to get the interface name for a given IP Address?

please help!

thanks
Sergey