Click here to Skip to main content
12,897,871 members (68,923 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted 4 Oct 2012

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 4-Oct-12 19:24 Available Kenneth Haugland
Updates in content.
1 No 4-Oct-12 19: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...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170424.1 | Last Updated 5 Oct 2012
Article Copyright 2012 by iyalarasi
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid