using System;
using System.Net.Sockets;
namespace System.Net
{
/// Identifies a network address. This is an abstract class.
// Token: 0x02000216 RID: 534
[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: 0x170005EF RID: 1519
// (get) Token: 0x06001228 RID: 4648 RVA: 0x00036594 File Offset: 0x00034794
public virtual global::System.Net.Sockets.AddressFamily AddressFamily
{
get
{
throw EndPoint.NotImplemented();
}
}
/// Creates an instance from a instance.
/// A new instance that is initialized from the specified instance.
/// The socket address that serves as the endpoint for a connection.
/// Any attempt is made to access the method when the method is not overridden in a descendant class.
///
///
///
// Token: 0x06001229 RID: 4649 RVA: 0x0003659C File Offset: 0x0003479C
public virtual EndPoint Create(SocketAddress address)
{
throw EndPoint.NotImplemented();
}
/// 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: 0x0600122A RID: 4650 RVA: 0x000365A4 File Offset: 0x000347A4
public virtual SocketAddress Serialize()
{
throw EndPoint.NotImplemented();
}
// Token: 0x0600122B RID: 4651 RVA: 0x000365AC File Offset: 0x000347AC
private static Exception NotImplemented()
{
return new NotImplementedException();
}
}
}