using System; using System.Threading.Tasks; using Cpp2IlInjected; namespace System.Net { /// Provides simple domain name resolution functionality. // Token: 0x02000287 RID: 647 [Token(Token = "0x2000287")] public static class Dns { /// Asynchronously returns the Internet Protocol (IP) addresses for the specified host. /// The host name or IP address to resolve. /// An delegate that references the method to invoke when the operation is complete. /// A user-defined object that contains information about the operation. This object is passed to the delegate when the operation is complete. /// An instance that references the asynchronous request. /// /// is . /// The length of is greater than 255 characters. /// An error is encountered when resolving . /// /// is an invalid IP address. // Token: 0x0600103C RID: 4156 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600103C")] [Address(RVA = "0x2702BA0", Offset = "0x27019A0", VA = "0x182702BA0")] public static IAsyncResult BeginGetHostAddresses(string hostNameOrAddress, AsyncCallback requestCallback, object state) { return null; } /// Ends an asynchronous request for DNS information. /// An instance returned by a call to the method. /// An array of type that holds the IP addresses for the host specified by the parameter of . // Token: 0x0600103D RID: 4157 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600103D")] [Address(RVA = "0x2702CD0", Offset = "0x2701AD0", VA = "0x182702CD0")] public static IPAddress[] EndGetHostAddresses(IAsyncResult asyncResult) { return null; } // Token: 0x0600103E RID: 4158 RVA: 0x00007B60 File Offset: 0x00005D60 [Token(Token = "0x600103E")] [Address(RVA = "0x2703390", Offset = "0x2702190", VA = "0x182703390")] private static bool GetHostByName_internal(string host, out string h_name, out string[] h_aliases, out string[] h_addr_list, int hint) { return default(bool); } // Token: 0x0600103F RID: 4159 RVA: 0x00007B78 File Offset: 0x00005D78 [Token(Token = "0x600103F")] [Address(RVA = "0x2703220", Offset = "0x2702020", VA = "0x182703220")] private static bool GetHostByAddr_internal(string addr, out string h_name, out string[] h_aliases, out string[] h_addr_list, int hint) { return default(bool); } // Token: 0x06001040 RID: 4160 RVA: 0x00007B90 File Offset: 0x00005D90 [Token(Token = "0x6001040")] [Address(RVA = "0x27038B0", Offset = "0x27026B0", VA = "0x1827038B0")] private static bool GetHostName_internal(out string h_name) { return default(bool); } // Token: 0x06001041 RID: 4161 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001041")] [Address(RVA = "0x2702E10", Offset = "0x2701C10", VA = "0x182702E10")] private static void Error_11001(string hostName) { } // Token: 0x06001042 RID: 4162 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001042")] [Address(RVA = "0x2703900", Offset = "0x2702700", VA = "0x182703900")] private static IPHostEntry hostent_to_IPHostEntry(string originalHostName, string h_name, string[] h_aliases, string[] h_addrlist) { return null; } // Token: 0x06001043 RID: 4163 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001043")] [Address(RVA = "0x2703230", Offset = "0x2702030", VA = "0x182703230")] private static IPHostEntry GetHostByAddressFromString(string address, bool parse) { return null; } /// Resolves a host name or IP address to an instance. /// The host name or IP address to resolve. /// An instance that contains address information about the host specified in . /// The parameter is . /// The length of parameter is greater than 255 characters. /// An error was encountered when resolving the parameter. /// The parameter is an invalid IP address. // Token: 0x06001044 RID: 4164 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001044")] [Address(RVA = "0x2703490", Offset = "0x2702290", VA = "0x182703490")] public static IPHostEntry GetHostEntry(string hostNameOrAddress) { return null; } /// Resolves an IP address to an instance. /// An IP address. /// An instance that contains address information about the host specified in . /// /// is . /// An error is encountered when resolving . /// /// is an invalid IP address. // Token: 0x06001045 RID: 4165 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001045")] [Address(RVA = "0x2703760", Offset = "0x2702560", VA = "0x182703760")] public static IPHostEntry GetHostEntry(IPAddress address) { return null; } /// Returns the Internet Protocol (IP) addresses for the specified host. /// The host name or IP address to resolve. /// An array of type that holds the IP addresses for the host that is specified by the parameter. /// /// is . /// The length of is greater than 255 characters. /// An error is encountered when resolving . /// /// is an invalid IP address. // Token: 0x06001046 RID: 4166 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001046")] [Address(RVA = "0x2703060", Offset = "0x2701E60", VA = "0x182703060")] public static IPAddress[] GetHostAddresses(string hostNameOrAddress) { return null; } /// Gets the DNS information for the specified DNS host name. /// The DNS name of the host. /// An object that contains host information for the address specified in . /// /// is . /// The length of is greater than 255 characters. /// An error is encountered when resolving . // Token: 0x06001047 RID: 4167 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001047")] [Address(RVA = "0x27033A0", Offset = "0x27021A0", VA = "0x1827033A0")] [Obsolete] public static IPHostEntry GetHostByName(string hostName) { return null; } /// Gets the host name of the local computer. /// A string that contains the DNS host name of the local computer. /// An error is encountered when resolving the local host name. // Token: 0x06001048 RID: 4168 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001048")] [Address(RVA = "0x27038C0", Offset = "0x27026C0", VA = "0x1827038C0")] public static string GetHostName() { return null; } /// Returns the Internet Protocol (IP) addresses for the specified host as an asynchronous operation. /// The host name or IP address to resolve. /// The task object representing the asynchronous operation. The property on the task object returns an array of type that holds the IP addresses for the host that is specified by the parameter. /// /// is . /// The length of is greater than 255 characters. /// An error is encountered when resolving . /// /// is an invalid IP address. // Token: 0x06001049 RID: 4169 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001049")] [Address(RVA = "0x2702E80", Offset = "0x2701C80", VA = "0x182702E80")] public static Task GetHostAddressesAsync(string hostNameOrAddress) { return null; } // Token: 0x02000288 RID: 648 // (Invoke) Token: 0x0600104B RID: 4171 [Token(Token = "0x2000288")] private delegate IPAddress[] GetHostAddressesCallback(string hostName); } }