using System;
using System.Net.Sockets;
using Cpp2IlInjected;
namespace System.Net
{
/// Identifies a network address. This is an class.
// Token: 0x02000222 RID: 546
[Token(Token = "0x2000222")]
[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: 0x17000290 RID: 656
// (get) Token: 0x06000DE3 RID: 3555 RVA: 0x00007038 File Offset: 0x00005238
[Token(Token = "0x17000290")]
public virtual AddressFamily AddressFamily
{
[Token(Token = "0x6000DE3")]
[Address(RVA = "0x2703BF0", Offset = "0x27029F0", VA = "0x182703BF0", 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: 0x06000DE4 RID: 3556 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000DE4")]
[Address(RVA = "0x2703BB0", Offset = "0x27029B0", VA = "0x182703BB0", 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: 0x06000DE5 RID: 3557 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000DE5")]
[Address(RVA = "0x2703B70", Offset = "0x2702970", VA = "0x182703B70", Slot = "6")]
public virtual EndPoint Create(SocketAddress socketAddress)
{
return null;
}
/// Initializes a new instance of the class.
// Token: 0x06000DE6 RID: 3558 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000DE6")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected EndPoint()
{
}
}
}