123 lines
4.1 KiB
C#
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: 0x020002ED RID: 749
|
|
[Token(Token = "0x20002ED")]
|
|
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: 0x17000410 RID: 1040
|
|
// (get) Token: 0x06001415 RID: 5141 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06001416 RID: 5142 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000410")]
|
|
public Socket AcceptSocket
|
|
{
|
|
[Token(Token = "0x6001415")]
|
|
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
|
[CompilerGenerated]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001416")]
|
|
[Address(RVA = "0x409C60", Offset = "0x408A60", VA = "0x180409C60")]
|
|
[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: 0x17000411 RID: 1041
|
|
// (set) Token: 0x06001417 RID: 5143 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000411")]
|
|
internal int BytesTransferred
|
|
{
|
|
[Token(Token = "0x6001417")]
|
|
[Address(RVA = "0x6CBD90", Offset = "0x6CAB90", VA = "0x1806CBD90")]
|
|
[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: 0x17000412 RID: 1042
|
|
// (set) Token: 0x06001418 RID: 5144 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000412")]
|
|
public SocketError SocketError
|
|
{
|
|
[Token(Token = "0x6001418")]
|
|
[Address(RVA = "0x643C00", Offset = "0x642A00", VA = "0x180643C00")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001419 RID: 5145 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001419")]
|
|
[Address(RVA = "0x2625B10", Offset = "0x2624910", VA = "0x182625B10")]
|
|
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: 0x0600141A RID: 5146 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600141A")]
|
|
[Address(RVA = "0x2625B20", Offset = "0x2624920", VA = "0x182625B20", Slot = "4")]
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600141B RID: 5147 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600141B")]
|
|
[Address(RVA = "0x2625AF0", Offset = "0x26248F0", VA = "0x182625AF0")]
|
|
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: 0x0600141C RID: 5148 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600141C")]
|
|
[Address(RVA = "0x2625B80", Offset = "0x2624980", VA = "0x182625B80", Slot = "5")]
|
|
protected virtual void OnCompleted(SocketAsyncEventArgs e)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000CA2 RID: 3234
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000CA2")]
|
|
private bool disposed;
|
|
|
|
// Token: 0x04000CA3 RID: 3235
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x4000CA3")]
|
|
internal int in_progress;
|
|
|
|
// Token: 0x04000CA4 RID: 3236
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000CA4")]
|
|
internal EndPoint remote_ep;
|
|
|
|
// Token: 0x04000CA5 RID: 3237
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000CA5")]
|
|
internal Socket current_socket;
|
|
|
|
// Token: 0x04000CA9 RID: 3241
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000CA9")]
|
|
[CompilerGenerated]
|
|
private EventHandler<SocketAsyncEventArgs> Completed;
|
|
}
|
|
}
|