Search found 1 match
- Fri Oct 17, 2014 4:33 am
- Forum: Scripting
- Topic: Getting IP address from system
- Replies: 14
- Views: 38183
Re: Getting IP address from system
Hi I have made a script for getting a IP address. Just use google "Get local ip address c#" //added using System.Net; using System.Net.Sockets; public static string GetLocalIPAddress() { IPHostEntry host; string localIP = "No 192.*.*.* IP"; host = Dns.GetHostEntry(Dns.GetHostName()); foreach (IPAddr...