4 instantiations of IPHostEntry
System (4)
net\System\Net\DNS.cs (4)
69
IPHostEntry HostEntry = new
IPHostEntry
();
539
IPHostEntry ipHostEntry = new
IPHostEntry
();
1115
hostinfo = new
IPHostEntry
();
1178
hostinfo = new
IPHostEntry
();
64 references to IPHostEntry
System (53)
net\System\Net\_AuthenticationState.cs (1)
144
IPHostEntry
result;
net\System\Net\_AutoWebProxyScriptHelper.cs (4)
305
IPHostEntry
ipHostEntry = null;
331
IPHostEntry
ipHostEntry = null;
915
IPHostEntry
ipHostEntry = null;
948
IPHostEntry
ipHostEntry = null;
net\System\Net\DNS.cs (45)
60
private static
IPHostEntry
NativeToHostEntry(IntPtr nativePointer) {
69
IPHostEntry
HostEntry = new IPHostEntry();
176
/// <para>Retrieves the <see cref='System.Net.
IPHostEntry
'/>
184
public static
IPHostEntry
GetHostByName(string hostName) {
204
internal static
IPHostEntry
InternalGetHostByName(string hostName) {
208
internal static
IPHostEntry
InternalGetHostByName(string hostName, bool includeIPv6) {
210
IPHostEntry
ipHostEntry = null;
289
/// <para>Creates an <see cref='System.Net.
IPHostEntry
'/>
294
public static
IPHostEntry
GetHostByAddress(string address) {
307
IPHostEntry
ipHostEntry = InternalGetHostByAddress(IPAddress.Parse(address), false);
323
/// <para>Creates an <see cref='System.Net.
IPHostEntry
'/> instance from an <see cref='System.Net.IPAddress'/>
328
public static
IPHostEntry
GetHostByAddress(IPAddress address) {
339
IPHostEntry
ipHostEntry = InternalGetHostByAddress(address, false);
346
internal static
IPHostEntry
InternalGetHostByAddress(IPAddress address, bool includeIPv6)
368
IPHostEntry
hostEntry;
497
public static
IPHostEntry
Resolve(string hostName) {
510
IPHostEntry
ipHostEntry;
537
private static
IPHostEntry
GetUnresolveAnswer(IPAddress address)
539
IPHostEntry
ipHostEntry = new IPHostEntry();
553
internal static bool TryInternalResolve(string hostName, out
IPHostEntry
result)
571
IPHostEntry
canonicalResult;
600
IPHostEntry
fqdnResult;
672
IPHostEntry
hostEntry;
725
IPHostEntry
hostEntry = GetUnresolveAnswer(address);
787
private static
IPHostEntry
HostResolutionEndHelper(IAsyncResult asyncResult)
816
return (
IPHostEntry
) castedResult.Result;
839
public static
IPHostEntry
EndGetHostByName(IAsyncResult asyncResult) {
842
IPHostEntry
ipHostEntry = HostResolutionEndHelper(asyncResult);
856
public static
IPHostEntry
GetHostEntry(string hostNameOrAddress) {
869
IPHostEntry
ipHostEntry;
889
public static
IPHostEntry
GetHostEntry(IPAddress address) {
906
IPHostEntry
ipHostEntry = InternalGetHostByAddress(address, true);
970
public static
IPHostEntry
EndGetHostEntry(IAsyncResult asyncResult) {
973
IPHostEntry
ipHostEntry = HostResolutionEndHelper(asyncResult);
994
IPHostEntry
ipHostEntry = HostResolutionEndHelper(asyncResult);
1029
public static
IPHostEntry
EndResolve(IAsyncResult asyncResult)
1033
IPHostEntry
ipHostEntry;
1062
public static Task<
IPHostEntry
> GetHostEntryAsync(IPAddress address)
1064
return Task<
IPHostEntry
>.Factory.FromAsync(BeginGetHostEntry, EndGetHostEntry, address, null);
1068
public static Task<
IPHostEntry
> GetHostEntryAsync(string hostNameOrAddress)
1070
return Task<
IPHostEntry
>.Factory.FromAsync(BeginGetHostEntry, EndGetHostEntry, hostNameOrAddress, null);
1074
private unsafe static
IPHostEntry
GetAddrInfo(string name) {
1075
IPHostEntry
hostEntry;
1086
private unsafe static SocketError TryGetAddrInfo(string name, out
IPHostEntry
hostinfo)
1092
private unsafe static SocketError TryGetAddrInfo(string name, AddressInfoHints flags, out
IPHostEntry
hostinfo)
net\System\Net\ServicePoint.cs (2)
1591
IPHostEntry
ipHostEntry = null;
1669
private void SetAddressList(
IPHostEntry
ipHostEntry)
net\System\Net\SocketPermission.cs (1)
982
IPHostEntry
ipHostEntry;
System.Runtime.Remoting (5)
channels\core\corechannel.cs (5)
80
private static volatile
IPHostEntry
s_CachedIPHostEntry = null;
187
IPHostEntry
host = Dns.GetHostEntry(machineName);
214
internal static bool IsLocalIpAddress(
IPHostEntry
host, AddressFamily addressFamily, IPAddress remoteAddress)
250
IPHostEntry
ipEntries = Dns.GetHostEntry(hostName);
271
internal static IPAddress GetMachineAddress(
IPHostEntry
host, AddressFamily addressFamily)
System.ServiceModel (6)
System\ServiceModel\Channels\DnsCache.cs (5)
63
public static
IPHostEntry
Resolve(Uri uri)
66
IPHostEntry
hostEntry = null;
121
IPHostEntry
hostEntry;
124
public DnsCacheEntry(
IPHostEntry
hostEntry, DateTime timeStamp)
130
public
IPHostEntry
HostEntry
System\ServiceModel\Channels\SocketConnection.cs (1)
1637
IPHostEntry
hostEntry = null;