using System; using System.IO; using Cpp2IlInjected; namespace System.Net.Security { /// Provides methods for passing credentials across a stream and requesting or performing authentication for client-server applications. // Token: 0x020002F3 RID: 755 [Token(Token = "0x20002F3")] public abstract class AuthenticatedStream : Stream { /// Initializes a new instance of the class. /// A object used by the for sending and receiving data. /// A that indicates whether closing this object also closes . /// /// is . /// -or- /// is equal to . // Token: 0x06001431 RID: 5169 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001431")] [Address(RVA = "0x2226980", Offset = "0x2225780", VA = "0x182226980")] protected AuthenticatedStream(Stream innerStream, bool leaveInnerStreamOpen) { } /// Gets the stream used by this for sending and receiving data. /// A object. // Token: 0x17000415 RID: 1045 // (get) Token: 0x06001432 RID: 5170 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000415")] protected Stream InnerStream { [Token(Token = "0x6001432")] [Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")] get { return null; } } /// Releases the unmanaged resources used by the and optionally releases the managed resources. /// /// to release both managed and unmanaged resources; to release only unmanaged resources. // Token: 0x06001433 RID: 5171 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001433")] [Address(RVA = "0x22268B0", Offset = "0x22256B0", VA = "0x1822268B0", Slot = "16")] protected override void Dispose(bool disposing) { } /// Gets a value that indicates whether authentication was successful. /// /// if successful authentication occurred; otherwise, . // Token: 0x17000416 RID: 1046 // (get) Token: 0x06001434 RID: 5172 [Token(Token = "0x17000416")] public abstract bool IsAuthenticated { [Token(Token = "0x6001434")] [Address(Slot = "31")] get; } // Token: 0x04000CCE RID: 3278 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000CCE")] private Stream _InnerStream; // Token: 0x04000CCF RID: 3279 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000CCF")] private bool _LeaveStreamOpen; } }