Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

123 lines
4.1 KiB
C#

using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Net.Sockets
{
/// <summary>Represents an asynchronous socket operation.</summary>
// Token: 0x020002E9 RID: 745
[Token(Token = "0x20002E9")]
public class SocketAsyncEventArgs : EventArgs, IDisposable
{
/// <summary>Gets or sets the socket to use or the socket created for accepting a connection with an asynchronous socket method.</summary>
/// <returns>The <see cref="T:System.Net.Sockets.Socket" /> to use or the socket created for accepting a connection with an asynchronous socket method.</returns>
// Token: 0x1700040C RID: 1036
// (get) Token: 0x060013FF RID: 5119 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06001400 RID: 5120 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700040C")]
public Socket AcceptSocket
{
[Token(Token = "0x60013FF")]
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
[CompilerGenerated]
get
{
return null;
}
[Token(Token = "0x6001400")]
[Address(RVA = "0x415820", Offset = "0x414820", VA = "0x180415820")]
[CompilerGenerated]
set
{
}
}
/// <summary>Gets the number of bytes transferred in the socket operation.</summary>
/// <returns>An <see cref="T:System.Int32" /> that contains the number of bytes transferred in the socket operation.</returns>
// Token: 0x1700040D RID: 1037
// (set) Token: 0x06001401 RID: 5121 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700040D")]
internal int BytesTransferred
{
[Token(Token = "0x6001401")]
[Address(RVA = "0x4258B0", Offset = "0x4248B0", VA = "0x1804258B0")]
[CompilerGenerated]
set
{
}
}
/// <summary>Gets or sets the result of the asynchronous socket operation.</summary>
/// <returns>A <see cref="T:System.Net.Sockets.SocketError" /> that represents the result of the asynchronous socket operation.</returns>
// Token: 0x1700040E RID: 1038
// (set) Token: 0x06001402 RID: 5122 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700040E")]
public SocketError SocketError
{
[Token(Token = "0x6001402")]
[Address(RVA = "0x812720", Offset = "0x811720", VA = "0x180812720")]
[CompilerGenerated]
set
{
}
}
// Token: 0x06001403 RID: 5123 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001403")]
[Address(RVA = "0xAE0DF0", Offset = "0xADFDF0", VA = "0x180AE0DF0")]
private void Dispose(bool disposing)
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Sockets.SocketAsyncEventArgs" /> instance and optionally disposes of the managed resources.</summary>
// Token: 0x06001404 RID: 5124 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001404")]
[Address(RVA = "0xAE0E00", Offset = "0xADFE00", VA = "0x180AE0E00", Slot = "4")]
public void Dispose()
{
}
// Token: 0x06001405 RID: 5125 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001405")]
[Address(RVA = "0xAE0DD0", Offset = "0xADFDD0", VA = "0x180AE0DD0")]
internal void Complete()
{
}
/// <summary>Represents a method that is called when an asynchronous operation completes.</summary>
/// <param name="e">The event that is signaled.</param>
// Token: 0x06001406 RID: 5126 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001406")]
[Address(RVA = "0xAE0E60", Offset = "0xADFE60", VA = "0x180AE0E60", Slot = "5")]
protected virtual void OnCompleted(SocketAsyncEventArgs e)
{
}
// Token: 0x04000C95 RID: 3221
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000C95")]
private bool disposed;
// Token: 0x04000C96 RID: 3222
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x4000C96")]
internal int in_progress;
// Token: 0x04000C97 RID: 3223
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000C97")]
internal EndPoint remote_ep;
// Token: 0x04000C98 RID: 3224
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000C98")]
internal Socket current_socket;
// Token: 0x04000C9C RID: 3228
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000C9C")]
[CompilerGenerated]
private EventHandler<SocketAsyncEventArgs> Completed;
}
}