using System; using System.Net.Sockets; using Cpp2IlInjected; namespace System.Net { /// Represents a network endpoint as an IP address and a port number. // Token: 0x02000229 RID: 553 [Token(Token = "0x2000229")] [Serializable] public class IPEndPoint : EndPoint { /// Gets the Internet Protocol (IP) address family. /// Returns . // Token: 0x17000291 RID: 657 // (get) Token: 0x06000DEC RID: 3564 RVA: 0x000070E0 File Offset: 0x000052E0 [Token(Token = "0x17000291")] public override AddressFamily AddressFamily { [Token(Token = "0x6000DEC")] [Address(RVA = "0xB3D0E0", Offset = "0xB3C0E0", VA = "0x180B3D0E0", Slot = "4")] get { return AddressFamily.Unspecified; } } /// Initializes a new instance of the class with the specified address and port number. /// An . /// The port number associated with the , or 0 to specify any available port. is in host order. /// /// is . /// /// is less than . /// -or- /// is greater than . /// -or- /// is less than 0 or greater than 0x00000000FFFFFFFF. // Token: 0x06000DED RID: 3565 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DED")] [Address(RVA = "0xB3CFF0", Offset = "0xB3BFF0", VA = "0x180B3CFF0")] public IPEndPoint(IPAddress address, int port) { } /// Gets or sets the IP address of the endpoint. /// An instance containing the IP address of the endpoint. // Token: 0x17000292 RID: 658 // (get) Token: 0x06000DEE RID: 3566 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000292")] public IPAddress Address { [Token(Token = "0x6000DEE")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return null; } } /// Gets or sets the port number of the endpoint. /// An integer value in the range to indicating the port number of the endpoint. /// The value that was specified for a set operation is less than or greater than . // Token: 0x17000293 RID: 659 // (get) Token: 0x06000DEF RID: 3567 RVA: 0x000070F8 File Offset: 0x000052F8 [Token(Token = "0x17000293")] public int Port { [Token(Token = "0x6000DEF")] [Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540")] get { return 0; } } /// Returns the IP address and port number of the specified endpoint. /// A string containing the IP address and the port number of the specified endpoint (for example, 192.168.1.2:80). // Token: 0x06000DF0 RID: 3568 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000DF0")] [Address(RVA = "0xB3CE60", Offset = "0xB3BE60", VA = "0x180B3CE60", Slot = "3")] public override string ToString() { return null; } /// Serializes endpoint information into a instance. /// A instance containing the socket address for the endpoint. // Token: 0x06000DF1 RID: 3569 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000DF1")] [Address(RVA = "0xB3CDF0", Offset = "0xB3BDF0", VA = "0x180B3CDF0", Slot = "5")] public override SocketAddress Serialize() { return null; } /// Creates an endpoint from a socket address. /// The to use for the endpoint. /// An instance using the specified socket address. /// The AddressFamily of is not equal to the AddressFamily of the current instance. /// -or- /// .Size < 8. // Token: 0x06000DF2 RID: 3570 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000DF2")] [Address(RVA = "0xB3C900", Offset = "0xB3B900", VA = "0x180B3C900", Slot = "6")] public override EndPoint Create(SocketAddress socketAddress) { return null; } /// Determines whether the specified is equal to the current . /// The to compare with the current . /// /// if the specified is equal to the current ; otherwise, . // Token: 0x06000DF3 RID: 3571 RVA: 0x00007110 File Offset: 0x00005310 [Token(Token = "0x6000DF3")] [Address(RVA = "0xB3CC10", Offset = "0xB3BC10", VA = "0x180B3CC10", Slot = "0")] public override bool Equals(object comparand) { return default(bool); } /// Returns a hash value for a instance. /// An integer hash value. // Token: 0x06000DF4 RID: 3572 RVA: 0x00007128 File Offset: 0x00005328 [Token(Token = "0x6000DF4")] [Address(RVA = "0x6F6B70", Offset = "0x6F5B70", VA = "0x1806F6B70", Slot = "2")] public override int GetHashCode() { return 0; } /// Specifies the minimum value that can be assigned to the property. This field is read-only. // Token: 0x04000818 RID: 2072 [Token(Token = "0x4000818")] public const int MinPort = 0; /// Specifies the maximum value that can be assigned to the property. The MaxPort value is set to 0x0000FFFF. This field is read-only. // Token: 0x04000819 RID: 2073 [Token(Token = "0x4000819")] public const int MaxPort = 65535; // Token: 0x0400081A RID: 2074 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400081A")] private IPAddress m_Address; // Token: 0x0400081B RID: 2075 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400081B")] private int m_Port; // Token: 0x0400081C RID: 2076 [Token(Token = "0x400081C")] internal const int AnyPort = 0; // Token: 0x0400081D RID: 2077 [Token(Token = "0x400081D")] internal static IPEndPoint Any; // Token: 0x0400081E RID: 2078 [Token(Token = "0x400081E")] internal static IPEndPoint IPv6Any; } }