Files
2026-06-04 11:42:34 +02:00

59 lines
3.0 KiB
C#

using System;
using System.Net.Sockets;
namespace System.Net
{
/// <summary>Identifies a network address. This is an abstract class.</summary>
// Token: 0x02000216 RID: 534
[Serializable]
public abstract class EndPoint
{
/// <summary>Gets the address family to which the endpoint belongs.</summary>
/// <returns>One of the <see cref="T:System.Net.Sockets.AddressFamily" /> values.</returns>
/// <exception cref="T:System.NotImplementedException">Any attempt is made to get or set the property when the property is not overridden in a descendant class. </exception>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
/// </PermissionSet>
// 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();
}
}
/// <summary>Creates an <see cref="T:System.Net.EndPoint" /> instance from a <see cref="T:System.Net.SocketAddress" /> instance.</summary>
/// <returns>A new <see cref="T:System.Net.EndPoint" /> instance that is initialized from the specified <see cref="T:System.Net.SocketAddress" /> instance.</returns>
/// <param name="socketAddress">The socket address that serves as the endpoint for a connection. </param>
/// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method when the method is not overridden in a descendant class. </exception>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
/// </PermissionSet>
// Token: 0x06001229 RID: 4649 RVA: 0x0003659C File Offset: 0x0003479C
public virtual EndPoint Create(SocketAddress address)
{
throw EndPoint.NotImplemented();
}
/// <summary>Serializes endpoint information into a <see cref="T:System.Net.SocketAddress" /> instance.</summary>
/// <returns>A <see cref="T:System.Net.SocketAddress" /> instance that contains the endpoint information.</returns>
/// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method when the method is not overridden in a descendant class. </exception>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence" />
/// </PermissionSet>
// 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();
}
}
}