Definition at line 36 of file Dns.cs.
37 {
38 if (address == null)
39 {
40 throw new ArgumentNullException("address");
41 }
42 if (address.Equals(IPAddress.Any) || address.Equals(IPAddress.IPv6Any))
43 {
45 {
47 }
49 }
52 {
54 }
56 }
static IPHostEntry GetHostEntryCore(string hostName, AddressFamily addressFamily, ValueStopwatch stopwatch=default(ValueStopwatch))
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
static void Error(object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
static string net_invalid_ip_addr
static string Format(string resourceFormat, object p1)
References System.Net.IPAddress.Any, System.Net.IPAddress.Equals(), System.Net.NetEventSource.Error(), System.SR.Format(), System.Net.Dns.GetHostEntryCore(), System.Net.NetEventSource.Info(), System.Net.IPAddress.IPv6Any, System.Net.NetEventSource.Log, and System.SR.net_invalid_ip_addr.
Referenced by System.Net.ServiceNameStore.BuildServiceNames(), System.Net.Dns.GetHostEntry(), Terraria.Netplay.GetLocalIPAddress(), System.Net.WebProxy.IsLocal(), and Terraria.Netplay.SetRemoteIPOld().