Home
last modified time | relevance | path

Searched refs:GetHostEntry (Results 1 – 25 of 84) sorted by relevance

1234

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.NameResolution/tests/FunctionalTests/
H A DGetHostEntryTest.cs98 IPHostEntry entry = Dns.GetHostEntry(TestSettings.LocalHost); in DnsBeginGetHostEntry_MachineName_MatchesGetHostEntry()
109 IPHostEntry entry = Dns.GetHostEntry(IPAddress.Loopback); in DnsBeginGetHostEntry_Loopback_MatchesGetHostEntry()
119 Assert.ThrowsAny<SocketException>(() => Dns.GetHostEntry("BadName")); in DnsGetHostEntry_BadName_Throws()
125 Assert.ThrowsAny<SocketException>(() => Dns.GetHostEntry("0.0.1.1")); in DnsGetHostEntry_BadIpString_Throws()
131 Assert.ThrowsAny<SocketException>(() => Dns.GetHostEntry( in DnsGetHostEntry_HostAlmostTooLong254Chars_Throws()
140 Assert.ThrowsAny<SocketException>(() => Dns.GetHostEntry( in DnsGetHostEntry_HostAlmostTooLong254CharsAndDot_Throws()
149 Assert.ThrowsAny<ArgumentOutOfRangeException>(() => Dns.GetHostEntry( in DnsGetHostEntry_HostTooLong255Chars_Throws()
158 IPHostEntry entry = Dns.GetHostEntry("localhost"); in DnsGetHostEntry_LocalHost_ReturnsFqdnAndLoopbackIPs()
171 IPHostEntry ipEntry = Dns.GetHostEntry(IPAddress.Loopback); in DnsGetHostEntry_LoopbackIP_MatchesGetHostEntryLoopbackString()
172 IPHostEntry stringEntry = Dns.GetHostEntry(IPAddress.Loopback.ToString()); in DnsGetHostEntry_LoopbackIP_MatchesGetHostEntryLoopbackString()
[all …]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/windows/tests/integration/targets/win_hosts/tasks/
H A Dtests.yml15 …ansible.windows.win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ test_win_hosts_cname }}')…
45 …ansible.windows.win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ test_win_hosts_cname}}') …
78 …ansible.windows.win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ test_win_hosts_cname }}')…
86 …ansible.windows.win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ item }}') } catch { retur…
122 …ansible.windows.win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ item }}') } catch { retur…
133 …ansible.windows.win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ item }}') } catch { retur…
169 …ansible.windows.win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ item }}') } catch { retur…
/dports/sysutils/ansible2/ansible-2.9.27/test/integration/targets/win_hosts/tasks/
H A Dtests.yml15 …win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ test_win_hosts_cname }}') } catch { retur…
45 …win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ test_win_hosts_cname}}') } catch { return…
78 …win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ test_win_hosts_cname }}') } catch { retur…
86 …win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ item }}') } catch { return 'false' } if (…
122 …win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ item }}') } catch { return 'false' } if (…
133 …win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ item }}') } catch { return 'false' } if (…
169 …win_shell: "try{ [array]$t = [Net.DNS]::GetHostEntry('{{ item }}') } catch { return 'false' } if (…
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net/
H A DDns.cs205 GetHostEntryNameCallback c = new GetHostEntryNameCallback (GetHostEntry); in BeginGetHostEntry()
223 GetHostEntryIPCallback c = new GetHostEntryIPCallback (GetHostEntry); in BeginGetHostEntry()
382 public static IPHostEntry GetHostEntry (string hostNameOrAddress) in GetHostEntry() method in System.Net.Dns
394 return GetHostEntry (addr); in GetHostEntry()
401 public static IPHostEntry GetHostEntry (IPAddress address) in GetHostEntry() method in System.Net.Dns
424 return GetHostEntry (hostNameOrAddress).AddressList; in GetHostAddresses()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net/
H A DDnsTest.cs492 Dns.GetHostEntry ((IPAddress) null); in GetHostEntry1_Address_Null()
508 Dns.GetHostEntry (site1Name); // hostname in GetHostEntry2()
509 Dns.GetHostEntry (site1Dot); // IP address in GetHostEntry2()
516 Dns.GetHostEntry ((string) null); in GetHostEntry2_HostNameOrAddress_Null()
531 Dns.GetHostEntry ("0.0.0.0"); in GetHostEntry2_HostNameOrAddress_UnspecifiedAddress()
545 Dns.GetHostEntry ("::0"); in GetHostEntry2_HostNameOrAddress_UnspecifiedAddress()
568 Dns.GetHostEntry (string.Empty); in GetHostEntry_StringEmpty()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.NameResolution/ref/
H A DSystem.Net.NameResolution.cs34 public static IPHostEntry GetHostEntry(string hostNameOrAddress) { throw null; } in GetHostEntry() method in System.Net.Dns
35 public static IPHostEntry GetHostEntry(IPAddress address) { throw null; } in GetHostEntry() method in System.Net.Dns
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/
H A DDnsCache.cs46 machineName = Dns.GetHostEntry(String.Empty).HostName;
95 hostEntry = Dns.GetHostEntry(hostName); in Resolve()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.NameResolution/tests/UnitTests/
H A DInitializationTest.cs83 Assert.ThrowsAny<Exception>(() => Dns.GetHostEntry((string)null)); in Dns_GetHostEntry_String_CallSocketInit_Ok()
91 Assert.ThrowsAny<Exception>(() => Dns.GetHostEntry((IPAddress)null)); in Dns_GetHostEntry_IPAddress_CallSocketInit_Ok()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net.Sockets/
H A DMulticastOptionTest.cs210 local = Dns.GetHostEntry (string.Empty).AddressList [0]; in Group()
258 local = Dns.GetHostEntry (string.Empty).AddressList [0]; in InterfaceIndex()
305 local = Dns.GetHostEntry (string.Empty).AddressList [0]; in LocalAddress()
313 local = Dns.GetHostEntry (string.Empty).AddressList [0]; in LocalAddress()
H A DNetworkStreamTest.cs32 IPEndPoint ipe = new IPEndPoint(Dns.GetHostEntry ("www.google.com").AddressList [0], 80); in NetworkStreamConnection()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/
H A D_ServiceNameStore.cs188 string machineName = Dns.GetHostEntry(String.Empty).HostName; in BuildServiceNames()
206 string fqdn = Dns.GetHostEntry(hostname).HostName; in BuildServiceNames()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Mono.Net.Dns/
H A DResolverAsyncOperation.cs24 GetHostEntry, enumerator
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.HttpListener/src/System/Net/
H A DServiceNameStore.cs295 string machineName = Dns.GetHostEntry(String.Empty).HostName; in BuildServiceNames()
313 string fqdn = Dns.GetHostEntry(hostname).HostName; in BuildServiceNames()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Data.Tds/Test/
H A Dbug-4786.cs56 IPAddress hostIP =Dns.GetHostEntry("localhost").AddressList[0]; in CheckNullException()
/dports/devel/log4net/log4net-1.2.10/src/Util/TypeConverters/
H A DIPAddressConverter.cs82 IPHostEntry host = Dns.GetHostEntry(str); in ConvertFrom()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/netstd/Thrift/Transport/Client/
H A DTSocketTransport.cs57 var entry = Dns.GetHostEntry(host); in TSocketTransport()
/dports/lang/mono/mono-5.10.1.57/external/api-doc-tools/external/Lucene.Net.Light/src/core/Store/
H A DLockVerifyServer.cs55 …temp_tcpListener = new System.Net.Sockets.TcpListener(System.Net.Dns.GetHostEntry(System.Net.Dns.G… in Main()
/dports/devel/py-thrift/thrift-0.14.0/lib/netstd/Thrift/Transport/Client/
H A DTSocketTransport.cs57 var entry = Dns.GetHostEntry(host); in TSocketTransport()
/dports/devel/thrift-c_glib/thrift-0.14.0/lib/netstd/Thrift/Transport/Client/
H A DTSocketTransport.cs57 var entry = Dns.GetHostEntry(host); in TSocketTransport()
/dports/devel/thrift-cpp/thrift-0.14.0/lib/netstd/Thrift/Transport/Client/
H A DTSocketTransport.cs57 var entry = Dns.GetHostEntry(host); in TSocketTransport()
/dports/devel/thrift/thrift-0.14.0/lib/netstd/Thrift/Transport/Client/
H A DTSocketTransport.cs57 var entry = Dns.GetHostEntry(host); in TSocketTransport()
/dports/devel/node-thrift/thrift-0.14.0/lib/netstd/Thrift/Transport/Client/
H A DTSocketTransport.cs57 var entry = Dns.GetHostEntry(host); in TSocketTransport()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/tools/SRB2Updater/
H A DMSClient.cs34 IPHostEntry iphe = Dns.GetHostEntry(strAddress); in GetServerList()
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/lib/netstd/Thrift/Transport/Client/
H A DTSocketTransport.cs59 var entry = Dns.GetHostEntry(host); in TSocketTransport()
/dports/irc/smuxi/smuxi-1.1/lib/db4o-net/Db4objects.Db4o/native/Sharpen/Net/
H A DSocket.cs29 IPHostEntry found = Dns.GetHostEntry(hostName);

1234