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: 0x02000236 RID: 566 [Token(Token = "0x2000236")] 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: 0x06000E27 RID: 3623 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E27")] [Address(RVA = "0x2231240", Offset = "0x2230040", VA = "0x182231240")] 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: 0x06000E28 RID: 3624 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E28")] [Address(RVA = "0x2231330", Offset = "0x2230130", VA = "0x182231330")] 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: 0x170002A1 RID: 673 // (get) Token: 0x06000E29 RID: 3625 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E2A RID: 3626 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002A1")] public string UserName { [Token(Token = "0x6000E29")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")] get { return null; } [Token(Token = "0x6000E2A")] [Address(RVA = "0x2231470", Offset = "0x2230270", VA = "0x182231470")] 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: 0x170002A2 RID: 674 // (get) Token: 0x06000E2B RID: 3627 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E2C RID: 3628 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002A2")] public string Password { [Token(Token = "0x6000E2B")] [Address(RVA = "0x2231230", Offset = "0x2230030", VA = "0x182231230")] get { return null; } [Token(Token = "0x6000E2C")] [Address(RVA = "0x2231450", Offset = "0x2230250", VA = "0x182231450")] set { } } /// Gets or sets the domain or computer name that verifies the credentials. /// The name of the domain associated with the credentials. // Token: 0x170002A3 RID: 675 // (get) Token: 0x06000E2D RID: 3629 RVA: 0x00002050 File Offset: 0x00000250 // (set) Token: 0x06000E2E RID: 3630 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170002A3")] public string Domain { [Token(Token = "0x6000E2D")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] get { return null; } [Token(Token = "0x6000E2E")] [Address(RVA = "0x22313F0", Offset = "0x22301F0", VA = "0x1822313F0")] set { } } // Token: 0x06000E2F RID: 3631 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E2F")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")] internal string InternalGetUserName() { return null; } // Token: 0x06000E30 RID: 3632 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E30")] [Address(RVA = "0x2231230", Offset = "0x2230030", VA = "0x182231230")] internal string InternalGetPassword() { return null; } // Token: 0x06000E31 RID: 3633 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E31")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] 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: 0x06000E32 RID: 3634 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E32")] [Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0", 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: 0x06000E33 RID: 3635 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E33")] [Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0", Slot = "5")] public NetworkCredential GetCredential(string host, int port, string authenticationType) { return null; } // Token: 0x04000839 RID: 2105 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000839")] private string m_domain; // Token: 0x0400083A RID: 2106 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400083A")] private string m_userName; // Token: 0x0400083B RID: 2107 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400083B")] private SecureString m_password; } }