using System; using System.Threading.Tasks; using Cpp2IlInjected; namespace System.Net { /// Provides simple domain name resolution functionality. // Token: 0x02000283 RID: 643 [Token(Token = "0x2000283")] 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: 0x06001026 RID: 4134 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001026")] [Address(RVA = "0xB28250", Offset = "0xB27250", VA = "0x180B28250")] 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: 0x06001027 RID: 4135 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001027")] [Address(RVA = "0xB28380", Offset = "0xB27380", VA = "0x180B28380")] public static IPAddress[] EndGetHostAddresses(IAsyncResult asyncResult) { return null; } // Token: 0x06001028 RID: 4136 RVA: 0x00007B48 File Offset: 0x00005D48 [Token(Token = "0x6001028")] [Address(RVA = "0xB28A40", Offset = "0xB27A40", VA = "0x180B28A40")] 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: 0x06001029 RID: 4137 RVA: 0x00007B60 File Offset: 0x00005D60 [Token(Token = "0x6001029")] [Address(RVA = "0xB288D0", Offset = "0xB278D0", VA = "0x180B288D0")] 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: 0x0600102A RID: 4138 RVA: 0x00007B78 File Offset: 0x00005D78 [Token(Token = "0x600102A")] [Address(RVA = "0xB28F60", Offset = "0xB27F60", VA = "0x180B28F60")] private static bool GetHostName_internal(out string h_name) { return default(bool); } // Token: 0x0600102B RID: 4139 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600102B")] [Address(RVA = "0xB284C0", Offset = "0xB274C0", VA = "0x180B284C0")] private static void Error_11001(string hostName) { } // Token: 0x0600102C RID: 4140 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600102C")] [Address(RVA = "0xB28FB0", Offset = "0xB27FB0", VA = "0x180B28FB0")] private static IPHostEntry hostent_to_IPHostEntry(string originalHostName, string h_name, string[] h_aliases, string[] h_addrlist) { return null; } // Token: 0x0600102D RID: 4141 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600102D")] [Address(RVA = "0xB288E0", Offset = "0xB278E0", VA = "0x180B288E0")] 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: 0x0600102E RID: 4142 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600102E")] [Address(RVA = "0xB28B40", Offset = "0xB27B40", VA = "0x180B28B40")] 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: 0x0600102F RID: 4143 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600102F")] [Address(RVA = "0xB28E10", Offset = "0xB27E10", VA = "0x180B28E10")] 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: 0x06001030 RID: 4144 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001030")] [Address(RVA = "0xB28710", Offset = "0xB27710", VA = "0x180B28710")] 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: 0x06001031 RID: 4145 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001031")] [Address(RVA = "0xB28A50", Offset = "0xB27A50", VA = "0x180B28A50")] [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: 0x06001032 RID: 4146 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001032")] [Address(RVA = "0xB28F70", Offset = "0xB27F70", VA = "0x180B28F70")] 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: 0x06001033 RID: 4147 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001033")] [Address(RVA = "0xB28530", Offset = "0xB27530", VA = "0x180B28530")] public static Task GetHostAddressesAsync(string hostNameOrAddress) { return null; } // Token: 0x02000284 RID: 644 // (Invoke) Token: 0x06001035 RID: 4149 [Token(Token = "0x2000284")] private delegate IPAddress[] GetHostAddressesCallback(string hostName); } }