Mac and IP address problem
-
On my computer I have various network connection wi-fi , ethernet , USB . Now I want to know the mac address and IP address of the connection and the Active network i.e. which is enabled
Trioum
Have you experimented with
GetAdaptersInfo()
,GetInterfaceInfo()
,GetAdaptersAddresses()
,GetNumberOfInterfaces()
, etc?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
Have you experimented with
GetAdaptersInfo()
,GetInterfaceInfo()
,GetAdaptersAddresses()
,GetNumberOfInterfaces()
, etc?"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
I tried but only able to get MAC address. not understand to get IP address and not able to find active network .
Trioum
trioum wrote:
not understand to get IP address and not able to find active network .
How about showing the code you used for this?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather