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

◆ GetHostByAddress() [1/2]

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

Definition at line 272 of file Dns.cs.

273 {
274 if (address == null)
275 {
276 throw new ArgumentNullException("address");
277 }
278 IPHostEntry hostEntryCore = GetHostEntryCore(address, AddressFamily.Unspecified);
279 if (System.Net.NetEventSource.Log.IsEnabled())
280 {
281 System.Net.NetEventSource.Info(address, hostEntryCore, "GetHostByAddress");
282 }
283 return hostEntryCore;
284 }
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(), and System.Net.NetEventSource.Log.