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: 0x020002EF RID: 751 [Token(Token = "0x20002EF")] 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: 0x0600141B RID: 5147 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600141B")] [Address(RVA = "0x8A0DE0", Offset = "0x89FDE0", VA = "0x1808A0DE0")] protected AuthenticatedStream(Stream innerStream, bool leaveInnerStreamOpen) { } /// Gets the stream used by this for sending and receiving data. /// A object. // Token: 0x17000411 RID: 1041 // (get) Token: 0x0600141C RID: 5148 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000411")] protected Stream InnerStream { [Token(Token = "0x600141C")] [Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")] 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: 0x0600141D RID: 5149 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600141D")] [Address(RVA = "0x8A0D10", Offset = "0x89FD10", VA = "0x1808A0D10", Slot = "16")] protected override void Dispose(bool disposing) { } /// Gets a value that indicates whether authentication was successful. /// /// if successful authentication occurred; otherwise, . // Token: 0x17000412 RID: 1042 // (get) Token: 0x0600141E RID: 5150 [Token(Token = "0x17000412")] public abstract bool IsAuthenticated { [Token(Token = "0x600141E")] [Address(Slot = "31")] get; } // Token: 0x04000CC1 RID: 3265 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000CC1")] private Stream _InnerStream; // Token: 0x04000CC2 RID: 3266 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000CC2")] private bool _LeaveStreamOpen; } }