C# Class X.DnsEx

Show file Open project: dpull/UnityUtils

Public Methods

Method Description
GetIPAddress ( string host ) : IPAddress
GetIPAddressAsynByHttpDns ( string host, int millisecondsTimeout ) : IPAddressAsyn
GetIPAddressByHttpDns ( string host ) : IPAddress

Method Details

GetIPAddress() public static method

public static GetIPAddress ( string host ) : IPAddress
host string
return System.Net.IPAddress

GetIPAddressAsynByHttpDns() public static method

public static GetIPAddressAsynByHttpDns ( string host, int millisecondsTimeout ) : IPAddressAsyn
host string
millisecondsTimeout int
return IPAddressAsyn

GetIPAddressByHttpDns() public static method

public static GetIPAddressByHttpDns ( string host ) : IPAddress
host string
return System.Net.IPAddress