using System;
using System.Text;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// Represents the address of an electronic mail sender or recipient.
// Token: 0x020002B9 RID: 697
[Token(Token = "0x20002B9")]
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: 0x0600124E RID: 4686 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600124E")]
[Address(RVA = "0x222AD20", Offset = "0x2229B20", VA = "0x18222AD20")]
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: 0x0600124F RID: 4687 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600124F")]
[Address(RVA = "0x222AC30", Offset = "0x2229A30", VA = "0x18222AC30")]
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: 0x06001250 RID: 4688 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001250")]
[Address(RVA = "0x222AB50", Offset = "0x2229950", VA = "0x18222AB50")]
[MonoTODO]
public MailAddress(string address, string displayName, Encoding displayNameEncoding)
{
}
// Token: 0x06001251 RID: 4689 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001251")]
[Address(RVA = "0x222A7A0", Offset = "0x22295A0", VA = "0x18222A7A0")]
private void ParseAddress(string address)
{
}
/// Gets the email address specified when this instance was created.
/// A that contains the email address.
// Token: 0x170003B7 RID: 951
// (get) Token: 0x06001252 RID: 4690 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B7")]
public string Address
{
[Token(Token = "0x6001252")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
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: 0x170003B8 RID: 952
// (get) Token: 0x06001253 RID: 4691 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B8")]
public string DisplayName
{
[Token(Token = "0x6001253")]
[Address(RVA = "0x222ADF0", Offset = "0x2229BF0", VA = "0x18222ADF0")]
get
{
return null;
}
}
/// Compares two mail addresses.
/// A instance to compare to the current instance.
///
/// if the two mail addresses are equal; otherwise, .
// Token: 0x06001254 RID: 4692 RVA: 0x000087C0 File Offset: 0x000069C0
[Token(Token = "0x6001254")]
[Address(RVA = "0x2227260", Offset = "0x2226060", VA = "0x182227260", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// Returns a hash value for a mail address.
/// An integer hash value.
// Token: 0x06001255 RID: 4693 RVA: 0x000087D8 File Offset: 0x000069D8
[Token(Token = "0x6001255")]
[Address(RVA = "0x1964CC0", Offset = "0x1963AC0", VA = "0x181964CC0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Returns a string representation of this instance.
/// A that contains the contents of this .
// Token: 0x06001256 RID: 4694 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001256")]
[Address(RVA = "0x222AAB0", Offset = "0x22298B0", VA = "0x18222AAB0", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x06001257 RID: 4695 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001257")]
[Address(RVA = "0x222A750", Offset = "0x2229550", VA = "0x18222A750")]
private static FormatException CreateFormatException()
{
return null;
}
// Token: 0x04000AD5 RID: 2773
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000AD5")]
private string address;
// Token: 0x04000AD6 RID: 2774
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000AD6")]
private string displayName;
// Token: 0x04000AD7 RID: 2775
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000AD7")]
private string host;
// Token: 0x04000AD8 RID: 2776
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000AD8")]
private string user;
// Token: 0x04000AD9 RID: 2777
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000AD9")]
private string to_string;
}
}