omikron48 Posted September 23, 2009 Posted September 23, 2009 Topic. Or is @IPAddress1 always the Local Area Connection?
jvanegmond Posted September 23, 2009 Posted September 23, 2009 @IPAddress1 is the IP address of the first network adapter (the primary network adapter). The IP address returned is usually that of your gateway to the internet. When the other network adapters are not connected, then @IPADdress2, 3 and 4 will always return 0.0.0.0 github.com/jvanegmond
Confuzzled Posted September 26, 2009 Posted September 26, 2009 You could parse the output from the following: IPCONFIG NETSH WMI: "SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now