using System; using System.Security; using Cpp2IlInjected; namespace System.Net { /// Provides credentials for password-based authentication schemes such as basic, digest, NTLM, and Kerberos authentication. // Token: 0x02000232 RID: 562 [Token(Token = "0x2000232")] public class NetworkCredential : ICredentials, ICredentialsByHost { /// Initializes a new instance of the class with the specified user name and password. /// The user name associated with the credentials. /// The password for the user name associated with the credentials. // Token: 0x06000E11 RID: 3601 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E11")] [Address(RVA = "0x8AB7F0", Offset = "0x8AA7F0", VA = "0x1808AB7F0")] public NetworkCredential(string userName, string password) { } /// Initializes a new instance of the class with the specified user name, password, and domain. /// The user name associated with the credentials. /// The password for the user name associated with the credentials. /// The domain associated with these credentials. // Token: 0x06000E12 RID: 3602 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E12")] [Address(RVA = "0x8AB8E0", Offset = "0x8AA8E0", VA = "0x1808AB8E0")] public NetworkCredential(string userName, string password, string domain) { } /// Gets or sets the user name associated with the credentials. /// The user name associated with the credentials. // Token: 0x1700029D RID: 669 // (get) Token: 0x06000E13 RID: 3603 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E14 RID: 3604 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x1700029D")] public string UserName { [Token(Token = "0x6000E13")] [Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")] get { return null; } [Token(Token = "0x6000E14")] [Address(RVA = "0x8ABA20", Offset = "0x8AAA20", VA = "0x1808ABA20")] set { } } /// Gets or sets the password for the user name associated with the credentials. /// The password associated with the credentials. If this instance was initialized with the parameter set to , then the property will return an empty string. // Token: 0x1700029E RID: 670 // (get) Token: 0x06000E15 RID: 3605 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E16 RID: 3606 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x1700029E")] public string Password { [Token(Token = "0x6000E15")] [Address(RVA = "0x8AB7E0", Offset = "0x8AA7E0", VA = "0x1808AB7E0")] get { return null; } [Token(Token = "0x6000E16")] [Address(RVA = "0x8ABA00", Offset = "0x8AAA00", VA = "0x1808ABA00")] set { } } /// Gets or sets the domain or computer name that verifies the credentials. /// The name of the domain associated with the credentials. // Token: 0x1700029F RID: 671 // (get) Token: 0x06000E17 RID: 3607 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E18 RID: 3608 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x1700029F")] public string Domain { [Token(Token = "0x6000E17")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return null; } [Token(Token = "0x6000E18")] [Address(RVA = "0x8AB9A0", Offset = "0x8AA9A0", VA = "0x1808AB9A0")] set { } } // Token: 0x06000E19 RID: 3609 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E19")] [Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")] internal string InternalGetUserName() { return null; } // Token: 0x06000E1A RID: 3610 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E1A")] [Address(RVA = "0x8AB7E0", Offset = "0x8AA7E0", VA = "0x1808AB7E0")] internal string InternalGetPassword() { return null; } // Token: 0x06000E1B RID: 3611 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E1B")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] internal string InternalGetDomain() { return null; } /// Returns an instance of the class for the specified Uniform Resource Identifier (URI) and authentication type. /// The URI that the client provides authentication for. /// The type of authentication requested, as defined in the property. /// A object. // Token: 0x06000E1C RID: 3612 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E1C")] [Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", Slot = "4")] public NetworkCredential GetCredential(Uri uri, string authType) { return null; } /// Returns an instance of the class for the specified host, port, and authentication type. /// The host computer that authenticates the client. /// The port on the that the client communicates with. /// The type of authentication requested, as defined in the property. /// A for the specified host, port, and authentication protocol, or if there are no credentials available for the specified host, port, and authentication protocol. // Token: 0x06000E1D RID: 3613 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E1D")] [Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", Slot = "5")] public NetworkCredential GetCredential(string host, int port, string authenticationType) { return null; } // Token: 0x0400082C RID: 2092 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400082C")] private string m_domain; // Token: 0x0400082D RID: 2093 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400082D")] private string m_userName; // Token: 0x0400082E RID: 2094 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400082E")] private SecureString m_password; } }