using System; using Cpp2IlInjected; namespace System.Net.Sockets { /// Specifies whether a will remain connected after a call to the or methods and the length of time it will remain connected, if data remains to be sent. // Token: 0x020002D5 RID: 725 [Token(Token = "0x20002D5")] public class LingerOption { /// Initializes a new instance of the class. /// /// to remain connected after the method is called; otherwise, . /// The number of seconds to remain connected after the method is called. // Token: 0x06001321 RID: 4897 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001321")] [Address(RVA = "0xADCE60", Offset = "0xADBE60", VA = "0x180ADCE60")] public LingerOption(bool enable, int seconds) { } /// Gets or sets a value that indicates whether to linger after the is closed. /// /// if the should linger after is called; otherwise, . // Token: 0x170003E7 RID: 999 // (set) Token: 0x06001322 RID: 4898 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170003E7")] public bool Enabled { [Token(Token = "0x6001322")] [Address(RVA = "0x62ADC0", Offset = "0x629DC0", VA = "0x18062ADC0")] set { } } /// Gets or sets the amount of time to remain connected after calling the method if data remains to be sent. /// The amount of time, in seconds, to remain connected after calling . // Token: 0x170003E8 RID: 1000 // (set) Token: 0x06001323 RID: 4899 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170003E8")] public int LingerTime { [Token(Token = "0x6001323")] [Address(RVA = "0x5F1920", Offset = "0x5F0920", VA = "0x1805F1920")] set { } } // Token: 0x04000BB2 RID: 2994 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000BB2")] private bool enabled; // Token: 0x04000BB3 RID: 2995 [FieldOffset(Offset = "0x14")] [Token(Token = "0x4000BB3")] private int lingerTime; } }