51 lines
1.4 KiB
C#
51 lines
1.4 KiB
C#
using System;
|
|
|
|
namespace System.Net.Sockets
|
|
{
|
|
/// <summary>Encapsulates the information that is necessary to duplicate a <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
|
// Token: 0x020001EF RID: 495
|
|
[Serializable]
|
|
public struct SocketInformation
|
|
{
|
|
/// <summary>Gets or sets the options for a <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
|
/// <returns>A <see cref="T:System.Net.Sockets.SocketInformationOptions" /> instance.</returns>
|
|
// Token: 0x17000591 RID: 1425
|
|
// (get) Token: 0x060010B9 RID: 4281 RVA: 0x0003084C File Offset: 0x0002EA4C
|
|
// (set) Token: 0x060010BA RID: 4282 RVA: 0x00030854 File Offset: 0x0002EA54
|
|
public SocketInformationOptions Options
|
|
{
|
|
get
|
|
{
|
|
return this.options;
|
|
}
|
|
set
|
|
{
|
|
this.options = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the protocol information for a <see cref="T:System.Net.Sockets.Socket" />.</summary>
|
|
/// <returns>An array of type <see cref="T:System.Byte" />.</returns>
|
|
// Token: 0x17000592 RID: 1426
|
|
// (get) Token: 0x060010BB RID: 4283 RVA: 0x00030860 File Offset: 0x0002EA60
|
|
// (set) Token: 0x060010BC RID: 4284 RVA: 0x00030868 File Offset: 0x0002EA68
|
|
public byte[] ProtocolInformation
|
|
{
|
|
get
|
|
{
|
|
return this.protocol_info;
|
|
}
|
|
set
|
|
{
|
|
this.protocol_info = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000EE3 RID: 3811
|
|
private SocketInformationOptions options;
|
|
|
|
// Token: 0x04000EE4 RID: 3812
|
|
private byte[] protocol_info;
|
|
}
|
|
}
|