Click here to Skip to main content
12,295,662 members (58,335 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted

Get the actual IP address

, 4 Oct 2012 CPOL
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.

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 5-Oct-12 1:24 Available Kenneth Haugland
Updates in content.
1 No 5-Oct-12 1:22 Available iyalarasi

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

iyalarasi
India India
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160525.2 | Last Updated 5 Oct 2012
Article Copyright 2012 by iyalarasi
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid