Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetHostByAddress() [2/2]

static IPHostEntry System.Net.Dns.GetHostByAddress ( string address)
inlinestatic

Definition at line 257 of file Dns.cs.

258 {
259 if (address == null)
260 {
261 throw new ArgumentNullException("address");
262 }
263 IPHostEntry hostEntryCore = GetHostEntryCore(IPAddress.Parse(address), AddressFamily.Unspecified);
264 if (System.Net.NetEventSource.Log.IsEnabled())
265 {
266 System.Net.NetEventSource.Info(address, hostEntryCore, "GetHostByAddress");
267 }
268 return hostEntryCore;
269 }
static IPHostEntry GetHostEntryCore(string hostName, AddressFamily addressFamily, ValueStopwatch stopwatch=default(ValueStopwatch))
Definition Dns.cs:357
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)

References System.Net.Dns.GetHostEntryCore(), System.Net.NetEventSource.Info(), System.Net.NetEventSource.Log, and System.Net.IPAddress.Parse().