using System;
using System.Net.Sockets;
using Cpp2IlInjected;
namespace System.Net
{
/// Stores serialized information from derived classes.
// Token: 0x02000238 RID: 568
[Token(Token = "0x2000238")]
public class SocketAddress
{
/// Gets the enumerated value of the current .
/// One of the enumerated values.
// Token: 0x170002A4 RID: 676
// (get) Token: 0x06000E39 RID: 3641 RVA: 0x000071B8 File Offset: 0x000053B8
[Token(Token = "0x170002A4")]
public AddressFamily Family
{
[Token(Token = "0x6000E39")]
[Address(RVA = "0x26259F0", Offset = "0x26247F0", VA = "0x1826259F0")]
get
{
return AddressFamily.Unspecified;
}
}
/// Gets the underlying buffer size of the .
/// The underlying buffer size of the .
// Token: 0x170002A5 RID: 677
// (get) Token: 0x06000E3A RID: 3642 RVA: 0x000071D0 File Offset: 0x000053D0
[Token(Token = "0x170002A5")]
public int Size
{
[Token(Token = "0x6000E3A")]
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
get
{
return 0;
}
}
/// Gets or sets the specified index element in the underlying buffer.
/// The array index element of the desired information.
/// The value of the specified index element in the underlying buffer.
/// The specified index does not exist in the buffer.
// Token: 0x170002A6 RID: 678
[Token(Token = "0x170002A6")]
public byte this[int offset]
{
[Token(Token = "0x6000E3B")]
[Address(RVA = "0x2625A50", Offset = "0x2624850", VA = "0x182625A50")]
get
{
return 0;
}
}
/// Creates a new instance of the class using the specified address family and buffer size.
/// An enumerated value.
/// The number of bytes to allocate for the underlying buffer.
///
/// is less than 2. These 2 bytes are needed to store .
// Token: 0x06000E3C RID: 3644 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E3C")]
[Address(RVA = "0x26254B0", Offset = "0x26242B0", VA = "0x1826254B0")]
public SocketAddress(AddressFamily family, int size)
{
}
// Token: 0x06000E3D RID: 3645 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E3D")]
[Address(RVA = "0x26255C0", Offset = "0x26243C0", VA = "0x1826255C0")]
internal SocketAddress(IPAddress ipAddress)
{
}
// Token: 0x06000E3E RID: 3646 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E3E")]
[Address(RVA = "0x2625430", Offset = "0x2624230", VA = "0x182625430")]
internal SocketAddress(IPAddress ipaddress, int port)
{
}
// Token: 0x06000E3F RID: 3647 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E3F")]
[Address(RVA = "0x2624CD0", Offset = "0x2623AD0", VA = "0x182624CD0")]
internal IPAddress GetIPAddress()
{
return null;
}
// Token: 0x06000E40 RID: 3648 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E40")]
[Address(RVA = "0x2624FA0", Offset = "0x2623DA0", VA = "0x182624FA0")]
internal IPEndPoint GetIPEndPoint()
{
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: 0x06000E41 RID: 3649 RVA: 0x00007200 File Offset: 0x00005400
[Token(Token = "0x6000E41")]
[Address(RVA = "0x2624A50", Offset = "0x2623850", VA = "0x182624A50", Slot = "0")]
public override bool Equals(object comparand)
{
return default(bool);
}
/// Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
/// A hash code for the current .
// Token: 0x06000E42 RID: 3650 RVA: 0x00007218 File Offset: 0x00005418
[Token(Token = "0x6000E42")]
[Address(RVA = "0x2624B30", Offset = "0x2623930", VA = "0x182624B30", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Returns information about the socket address.
/// A string that contains information about the .
// Token: 0x06000E43 RID: 3651 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E43")]
[Address(RVA = "0x2625060", Offset = "0x2623E60", VA = "0x182625060", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x0400083C RID: 2108
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400083C")]
internal int m_Size;
// Token: 0x0400083D RID: 2109
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400083D")]
internal byte[] m_Buffer;
// Token: 0x0400083E RID: 2110
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400083E")]
private bool m_changed;
// Token: 0x0400083F RID: 2111
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x400083F")]
private int m_hash;
}
}