37 references to Dns
System (21)
net\System\Net\_AuthenticationState.cs (1)
145
if (
Dns
.TryInternalResolve(host, out result))
net\System\Net\_AutoWebProxyScriptHelper.cs (4)
308
ipHostEntry =
Dns
.InternalGetHostByName(host);
334
ipHostEntry =
Dns
.InternalGetHostByName(host);
918
ipHostEntry =
Dns
.InternalGetHostByName(host);
951
ipHostEntry =
Dns
.InternalGetHostByName(host);
net\System\Net\_ServiceNameStore.cs (2)
188
string machineName =
Dns
.GetHostEntry(String.Empty).HostName;
206
string fqdn =
Dns
.GetHostEntry(hostname).HostName;
net\System\Net\DNS.cs (1)
240
ipHostEntry =
Dns
.GetAddrInfo(hostName);
net\System\Net\NetworkInformation\ping.cs (2)
292
address =
Dns
.GetHostAddresses(hostNameOrAddress)[0];
608
IPAddress addressSnapshot =
Dns
.GetHostAddresses(stateObject.hostName)[0];
net\System\Net\ServicePoint.cs (1)
1619
dnsResolutionFailed = !
Dns
.TryInternalResolve(m_Host, out ipHostEntry);
net\System\Net\SocketPermission.cs (1)
983
if (
Dns
.TryInternalResolve(hostname, out ipHostEntry)) {
net\System\Net\Sockets\_MultipleConnectAsync.cs (2)
61
IAsyncResult result =
Dns
.BeginGetHostAddresses(endPoint.Host, new AsyncCallback(DnsCallback), null);
102
addressList =
Dns
.EndGetHostAddresses(result);
net\System\Net\Sockets\Socket.cs (3)
1080
IPAddress[] addresses =
Dns
.GetHostAddresses(host);
6077
IAsyncResult dnsResult =
Dns
.UnsafeBeginGetHostAddresses(host, new AsyncCallback(DnsCallback), result);
7060
IPAddress[] addresses =
Dns
.EndGetHostAddresses(result);
net\System\Net\Sockets\TCPClient.cs (1)
214
IPAddress[] addresses =
Dns
.GetHostAddresses(hostname);
net\System\Net\Sockets\UDPClient.cs (3)
330
IPAddress[] addresses =
Dns
.GetHostAddresses(hostname);
561
IPAddress[] addresses =
Dns
.GetHostAddresses(hostname);
653
IPAddress[] addresses =
Dns
.GetHostAddresses(hostname);
System.Runtime.Remoting (6)
channels\core\corechannel.cs (4)
152
s_CachedIPHostEntry =
Dns
.GetHostEntry(GetMachineName());
169
s_hostName =
Dns
.GetHostName();
187
IPHostEntry host =
Dns
.GetHostEntry(machineName);
250
IPHostEntry ipEntries =
Dns
.GetHostEntry(hostName);
channels\core\socketcache.cs (1)
108
_addressList =
Dns
.GetHostAddresses(_uri.DnsSafeHost);
channels\http\httpremotinghandler.cs (1)
416
String machineAndAppName =
Dns
.GetHostName() + httpRequest.ApplicationPath;
System.ServiceModel (6)
System\ServiceModel\Channels\DnsCache.cs (2)
46
machineName =
Dns
.GetHostEntry(String.Empty).HostName;
95
hostEntry =
Dns
.GetHostEntry(hostName);
System\ServiceModel\Channels\HttpChannelListener.cs (3)
757
hostName =
Dns
.GetHostEntry(string.Empty).HostName;
771
hostName =
Dns
.GetHostEntry(string.Empty).HostName;
782
hostName =
Dns
.GetHostEntry(string.Empty).HostName;
System\ServiceModel\Description\ConfigLoader.cs (1)
402
sb.Append(System.Net.
Dns
.GetHostName());
System.Web.Services (1)
System\Web\Services\Diagnostics\TraceUtility.cs (1)
204
return
Dns
.GetHostByAddress(ipAddress).HostName;
WsatConfig (2)
Configuration\CertificateManager.cs (1)
264
string hostName = System.Net.
Dns
.GetHostEntry(string.Empty).HostName;
Configuration\Utilities.cs (1)
137
hostName = System.Net.
Dns
.GetHostName();
WsatUI (1)
Configuration\Utilities.cs (1)
137
hostName = System.Net.
Dns
.GetHostName();