![]() |
|||
|
About Article
Alternative to Get the actual IP address
This code results exact ip address of system. rather than the router address like 127.0.0.1System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].GetIPProperties().UnicastAddresses[0].Address.ToString();happy coding.
Related Articles
|
||||||||||||||