using System; namespace System.Net.Mail { // Token: 0x02000148 RID: 328 internal class CCredentialsByHost : ICredentialsByHost { // Token: 0x06000B4E RID: 2894 RVA: 0x00022D3C File Offset: 0x00020F3C public CCredentialsByHost(string userName, string password) { this.userName = userName; this.password = password; } // Token: 0x06000B4F RID: 2895 RVA: 0x00022D54 File Offset: 0x00020F54 public NetworkCredential GetCredential(string host, int port, string authenticationType) { return new NetworkCredential(this.userName, this.password); } // Token: 0x04000B51 RID: 2897 private string userName; // Token: 0x04000B52 RID: 2898 private string password; } }