using System;
using System.Net.Sockets;
using Cpp2IlInjected;
namespace System.Net
{
/// Identifies a network address. This is an class.
// Token: 0x0200021E RID: 542
[Token(Token = "0x200021E")]
[Serializable]
public abstract class EndPoint
{
/// Gets the address family to which the endpoint belongs.
/// One of the values.
/// Any attempt is made to get or set the property when the property is not overridden in a descendant class.
// Token: 0x1700028C RID: 652
// (get) Token: 0x06000DCD RID: 3533 RVA: 0x00007020 File Offset: 0x00005220
[Token(Token = "0x1700028C")]
public virtual AddressFamily AddressFamily
{
[Token(Token = "0x6000DCD")]
[Address(RVA = "0xB292A0", Offset = "0xB282A0", VA = "0x180B292A0", Slot = "4")]
get
{
return AddressFamily.Unspecified;
}
}
/// Serializes endpoint information into a instance.
/// A instance that contains the endpoint information.
/// Any attempt is made to access the method when the method is not overridden in a descendant class.
// Token: 0x06000DCE RID: 3534 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000DCE")]
[Address(RVA = "0xB29260", Offset = "0xB28260", VA = "0x180B29260", Slot = "5")]
public virtual SocketAddress Serialize()
{
return null;
}
/// Creates an instance from a instance.
/// The socket address that serves as the endpoint for a connection.
/// A new instance that is initialized from the specified instance.
/// Any attempt is made to access the method when the method is not overridden in a descendant class.
// Token: 0x06000DCF RID: 3535 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000DCF")]
[Address(RVA = "0xB29220", Offset = "0xB28220", VA = "0x180B29220", Slot = "6")]
public virtual EndPoint Create(SocketAddress socketAddress)
{
return null;
}
/// Initializes a new instance of the class.
// Token: 0x06000DD0 RID: 3536 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000DD0")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected EndPoint()
{
}
}
}