using System;
using System.Text;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// Represents the address of an electronic mail sender or recipient.
// Token: 0x020002B5 RID: 693
[Token(Token = "0x20002B5")]
public class MailAddress
{
/// Initializes a new instance of the class using the specified address.
/// A that contains an email address.
///
/// is .
///
/// is ("").
///
/// is not in a recognized format.
// Token: 0x06001238 RID: 4664 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001238")]
[Address(RVA = "0x8A52D0", Offset = "0x8A42D0", VA = "0x1808A52D0")]
public MailAddress(string address)
{
}
/// Initializes a new instance of the class using the specified address and display name.
/// A that contains an email address.
/// A that contains the display name associated with . This parameter can be .
///
/// is .
///
/// is ("").
///
/// is not in a recognized format.
/// -or-
/// contains non-ASCII characters.
// Token: 0x06001239 RID: 4665 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001239")]
[Address(RVA = "0x8A51E0", Offset = "0x8A41E0", VA = "0x1808A51E0")]
public MailAddress(string address, string displayName)
{
}
/// Initializes a new instance of the class using the specified address, display name, and encoding.
/// A that contains an email address.
/// A that contains the display name associated with .
/// The that defines the character set used for .
///
/// is .
/// -or-
/// is .
///
/// is ("").
/// -or-
/// is ("").
///
/// is not in a recognized format.
/// -or-
/// contains non-ASCII characters.
// Token: 0x0600123A RID: 4666 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600123A")]
[Address(RVA = "0x8A5100", Offset = "0x8A4100", VA = "0x1808A5100")]
[MonoTODO]
public MailAddress(string address, string displayName, Encoding displayNameEncoding)
{
}
// Token: 0x0600123B RID: 4667 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600123B")]
[Address(RVA = "0x8A4D50", Offset = "0x8A3D50", VA = "0x1808A4D50")]
private void ParseAddress(string address)
{
}
/// Gets the email address specified when this instance was created.
/// A that contains the email address.
// Token: 0x170003B3 RID: 947
// (get) Token: 0x0600123C RID: 4668 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B3")]
public string Address
{
[Token(Token = "0x600123C")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// Gets the display name composed from the display name and address information specified when this instance was created.
/// A that contains the display name; otherwise, ("") if no display name information was specified when this instance was created.
// Token: 0x170003B4 RID: 948
// (get) Token: 0x0600123D RID: 4669 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B4")]
public string DisplayName
{
[Token(Token = "0x600123D")]
[Address(RVA = "0x8A53A0", Offset = "0x8A43A0", VA = "0x1808A53A0")]
get
{
return null;
}
}
/// Compares two mail addresses.
/// A instance to compare to the current instance.
///
/// if the two mail addresses are equal; otherwise, .
// Token: 0x0600123E RID: 4670 RVA: 0x000087A8 File Offset: 0x000069A8
[Token(Token = "0x600123E")]
[Address(RVA = "0x8A1720", Offset = "0x8A0720", VA = "0x1808A1720", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// Returns a hash value for a mail address.
/// An integer hash value.
// Token: 0x0600123F RID: 4671 RVA: 0x000087C0 File Offset: 0x000069C0
[Token(Token = "0x600123F")]
[Address(RVA = "0x8A4D10", Offset = "0x8A3D10", VA = "0x1808A4D10", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Returns a string representation of this instance.
/// A that contains the contents of this .
// Token: 0x06001240 RID: 4672 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001240")]
[Address(RVA = "0x8A5060", Offset = "0x8A4060", VA = "0x1808A5060", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x06001241 RID: 4673 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001241")]
[Address(RVA = "0x8A4CC0", Offset = "0x8A3CC0", VA = "0x1808A4CC0")]
private static FormatException CreateFormatException()
{
return null;
}
// Token: 0x04000AC8 RID: 2760
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000AC8")]
private string address;
// Token: 0x04000AC9 RID: 2761
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000AC9")]
private string displayName;
// Token: 0x04000ACA RID: 2762
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000ACA")]
private string host;
// Token: 0x04000ACB RID: 2763
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000ACB")]
private string user;
// Token: 0x04000ACC RID: 2764
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000ACC")]
private string to_string;
}
}