c# 썸네일형 리스트형 C# IPv4, IPv6 string strAddress = "10.10.10.10"; IPAddress adress = IPAddress.Parse(strAddress); if(adress.AddressFamily == AddressFamily.InterNetworkV6) // Check IPv6 { if(adress.IsIPv4MappedToIPv6) //Convert IPv6 to IPv4 adress = adress.MapToIPv4(); } string strMyIP = string.Empty; if (adress.AddressFamily == AddressFamily.InterNetwork) // Check IPv4 { strMyIP = adress.ToString(); if (string.IsNullOrEmpty(s.. 더보기 이전 1 다음