Click here to Skip to main content
11,575,925 members (56,859 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Get the actual IP address

, 4 Oct 2012 CPOL 0
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
Web04 | 2.8.150603.1 | Last Updated 5 Oct 2012
Article Copyright 2012 by iyalarasi
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid