61 lines
2.8 KiB
C#
61 lines
2.8 KiB
C#
using System;
|
|
using System.Net.Sockets;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Identifies a network address. This is an <see langword="abstract" /> class.</summary>
|
|
// Token: 0x02000222 RID: 546
|
|
[Token(Token = "0x2000222")]
|
|
[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>
|
|
// 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;
|
|
}
|
|
}
|
|
|
|
/// <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>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Creates an <see cref="T:System.Net.EndPoint" /> instance from a <see cref="T:System.Net.SocketAddress" /> instance.</summary>
|
|
/// <param name="socketAddress">The socket address that serves as the endpoint for a connection.</param>
|
|
/// <returns>A new <see cref="T:System.Net.EndPoint" /> instance that is initialized from the specified <see cref="T:System.Net.SocketAddress" /> instance.</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>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.EndPoint" /> class.</summary>
|
|
// Token: 0x06000DE6 RID: 3558 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000DE6")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
protected EndPoint()
|
|
{
|
|
}
|
|
}
|
|
}
|