If you want to get the exact IP address, you will need to do something like the following:
Dim xAddrManager As New AddressManager Dim xAddrs As Addresses
Set xAddrs = xAddrManager.GetLocalAddresses(wafInet)
Dim xAddr As Address
For Each xAddr In xAddrs Debug.Print (xAddr.GetAddressString) Next xAddr |
Keep in mind that a computer can have more than one IP address!
Imported from legacy forums. Posted by Xceed admin (had 1491 views)