Files
27Aug2021-Cpp2IL-Dump/System/Net/EndPoint.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

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: 0x0200021E RID: 542
[Token(Token = "0x200021E")]
[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: 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;
}
}
/// <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: 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;
}
/// <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: 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;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.EndPoint" /> class.</summary>
// Token: 0x06000DD0 RID: 3536 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000DD0")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected EndPoint()
{
}
}
}