네트웍에서 사설/공인 IP (Local/Public IP 또는 Internal/External IP)를 구하는 소스 Get Internal IP Address using System.Net.Sockets; //for AddressFamily public static string GetInternalIPAddress() { var host = Dns.GetHostEntry(Dns.GetHostName()); foreach (var ip in host.AddressList) { if (ip.AddressFamily == AddressFamily.InterNetwork) { return ip.ToString(); } } throw new Exception("No network adapters with an I..