How to get the active network interface name?
807580Nov 23 2007 — edited Nov 5 2009Hi All,
Can any one tell me how to get the currently active network interface name (Local Area Connection/ Wireless Network Connection/ other) either by using java SDK or win32 API.
Is there any function to get the active network interface name in java/win32?
Is there any procedure for it to get from observing registry keys.
I found NetworkInterface class in java but not yet succesful in getting the display name of active network interface.
Can anyone help me with partial code?
Please help me.