This commit is contained in:
niko
2026-04-11 22:19:20 +02:00
parent 45b857ff11
commit 8fc35183db
17034 changed files with 2863552 additions and 0 deletions
+73
View File
@@ -0,0 +1,73 @@
using System;
using System.IO;
using System.Net.Mime;
using System.Text;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Represents the format to view an email message.</summary>
// Token: 0x020002B2 RID: 690
[Token(Token = "0x20002B2")]
public class AlternateView : AttachmentBase
{
/// <summary>Initializes a new instance of <see cref="T:System.Net.Mail.AlternateView" /> with the specified <see cref="T:System.IO.Stream" /> and <see cref="T:System.Net.Mime.ContentType" />.</summary>
/// <param name="contentStream">A stream that contains the content for this attachment.</param>
/// <param name="contentType">The type of the content.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="contentStream" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="contentType" /> is not a valid value.</exception>
// Token: 0x06001228 RID: 4648 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001228")]
[Address(RVA = "0x2225D20", Offset = "0x2224B20", VA = "0x182225D20")]
public AlternateView(Stream contentStream, ContentType contentType)
{
}
/// <summary>Gets the set of embedded resources referred to by this attachment.</summary>
/// <returns>A <see cref="T:System.Net.Mail.LinkedResourceCollection" /> object that stores the collection of linked resources to be sent as part of an email message.</returns>
// Token: 0x170003AF RID: 943
// (get) Token: 0x06001229 RID: 4649 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003AF")]
public LinkedResourceCollection LinkedResources
{
[Token(Token = "0x6001229")]
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
get
{
return null;
}
}
/// <summary>Creates an <see cref="T:System.Net.Mail.AlternateView" /> of an email message using the content specified in a <see cref="T:System.String" />, the specified text encoding, and MIME media type of the content.</summary>
/// <param name="content">A <see cref="T:System.String" /> that contains the content for this attachment.</param>
/// <param name="contentEncoding">An <see cref="T:System.Text.Encoding" />. This value can be <see langword="null." /></param>
/// <param name="mediaType">The MIME media type of the content.</param>
/// <returns>An <see cref="T:System.Net.Mail.AlternateView" /> object that represents an alternate view of an email message.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="content" /> is null.</exception>
// Token: 0x0600122A RID: 4650 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600122A")]
[Address(RVA = "0x2225890", Offset = "0x2224690", VA = "0x182225890")]
public static AlternateView CreateAlternateViewFromString(string content, Encoding contentEncoding, string mediaType)
{
return null;
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Mail.AlternateView" /> and optionally releases the managed resources.</summary>
/// <param name="disposing">
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
// Token: 0x0600122B RID: 4651 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600122B")]
[Address(RVA = "0x2225B60", Offset = "0x2224960", VA = "0x182225B60", Slot = "5")]
protected override void Dispose(bool disposing)
{
}
// Token: 0x04000ACE RID: 2766
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000ACE")]
private LinkedResourceCollection linkedResources;
}
}
@@ -0,0 +1,55 @@
using System;
using System.Collections.ObjectModel;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Represents a collection of <see cref="T:System.Net.Mail.AlternateView" /> objects.</summary>
// Token: 0x020002B3 RID: 691
[Token(Token = "0x20002B3")]
public sealed class AlternateViewCollection : Collection<AlternateView>, IDisposable
{
// Token: 0x0600122C RID: 4652 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600122C")]
[Address(RVA = "0x2225850", Offset = "0x2224650", VA = "0x182225850")]
internal AlternateViewCollection()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Net.Mail.AlternateViewCollection" />.</summary>
// Token: 0x0600122D RID: 4653 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600122D")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "39")]
public void Dispose()
{
}
// Token: 0x0600122E RID: 4654 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600122E")]
[Address(RVA = "0x2225700", Offset = "0x2224500", VA = "0x182225700", Slot = "35")]
protected override void ClearItems()
{
}
// Token: 0x0600122F RID: 4655 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600122F")]
[Address(RVA = "0x2225740", Offset = "0x2224540", VA = "0x182225740", Slot = "36")]
protected override void InsertItem(int index, AlternateView item)
{
}
// Token: 0x06001230 RID: 4656 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001230")]
[Address(RVA = "0x22257A0", Offset = "0x22245A0", VA = "0x1822257A0", Slot = "37")]
protected override void RemoveItem(int index)
{
}
// Token: 0x06001231 RID: 4657 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001231")]
[Address(RVA = "0x22257F0", Offset = "0x22245F0", VA = "0x1822257F0", Slot = "38")]
protected override void SetItem(int index, AlternateView item)
{
}
}
}
+106
View File
@@ -0,0 +1,106 @@
using System;
using System.IO;
using System.Net.Mime;
using System.Text;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Represents an attachment to an email.</summary>
// Token: 0x020002B4 RID: 692
[Token(Token = "0x20002B4")]
public class Attachment : AttachmentBase
{
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.Attachment" /> class with the specified stream, name, and MIME type information.</summary>
/// <param name="contentStream">A readable <see cref="T:System.IO.Stream" /> that contains the content for this attachment.</param>
/// <param name="name">A <see cref="T:System.String" /> that contains the value for the <see cref="P:System.Net.Mime.ContentType.Name" /> property of the <see cref="T:System.Net.Mime.ContentType" /> associated with this attachment. This value can be <see langword="null" />.</param>
/// <param name="mediaType">A <see cref="T:System.String" /> that contains the MIME Content-Header information for this attachment. This value can be <see langword="null" />.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="stream" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="mediaType" /> is not in the correct format.</exception>
// Token: 0x06001232 RID: 4658 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001232")]
[Address(RVA = "0x2226610", Offset = "0x2225410", VA = "0x182226610")]
public Attachment(Stream contentStream, string name, string mediaType)
{
}
/// <summary>Gets the MIME content disposition for this attachment.</summary>
/// <returns>A <see cref="T:System.Net.Mime.ContentDisposition" /> that provides the presentation information for this attachment.</returns>
// Token: 0x170003B0 RID: 944
// (get) Token: 0x06001233 RID: 4659 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B0")]
public ContentDisposition ContentDisposition
{
[Token(Token = "0x6001233")]
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
get
{
return null;
}
}
/// <summary>Gets or sets the MIME content type name value in the content type associated with this attachment.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the value for the content type <paramref name="name" /> represented by the <see cref="P:System.Net.Mime.ContentType.Name" /> property.</returns>
/// <exception cref="T:System.ArgumentNullException">The value specified for a set operation is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The value specified for a set operation is <see cref="F:System.String.Empty" /> ("").</exception>
// Token: 0x170003B1 RID: 945
// (get) Token: 0x06001234 RID: 4660 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06001235 RID: 4661 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170003B1")]
public string Name
{
[Token(Token = "0x6001234")]
[Address(RVA = "0x22267C0", Offset = "0x22255C0", VA = "0x1822267C0")]
get
{
return null;
}
[Token(Token = "0x6001235")]
[Address(RVA = "0x2226890", Offset = "0x2225690", VA = "0x182226890")]
set
{
}
}
/// <summary>Specifies the encoding for the <see cref="T:System.Net.Mail.Attachment" /><see cref="P:System.Net.Mail.Attachment.Name" />.</summary>
/// <returns>An <see cref="T:System.Text.Encoding" /> value that specifies the type of name encoding. The default value is determined from the name of the attachment.</returns>
// Token: 0x170003B2 RID: 946
// (get) Token: 0x06001236 RID: 4662 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B2")]
public Encoding NameEncoding
{
[Token(Token = "0x6001236")]
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")]
get
{
return null;
}
}
/// <summary>Creates a mail attachment using the content from the specified string, the specified MIME content type name, character encoding, and MIME header information for the attachment.</summary>
/// <param name="content">A <see cref="T:System.String" /> that contains the content for this attachment.</param>
/// <param name="name">The MIME content type name value in the content type associated with this attachment.</param>
/// <param name="contentEncoding">An <see cref="T:System.Text.Encoding" />. This value can be <see langword="null" />.</param>
/// <param name="mediaType">A <see cref="T:System.String" /> that contains the MIME Content-Header information for this attachment. This value can be <see langword="null" />.</param>
/// <returns>An object of type <see cref="T:System.Net.Mail.Attachment" />.</returns>
// Token: 0x06001237 RID: 4663 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001237")]
[Address(RVA = "0x2226320", Offset = "0x2225120", VA = "0x182226320")]
public static Attachment CreateAttachmentFromString(string content, string name, Encoding contentEncoding, string mediaType)
{
return null;
}
// Token: 0x04000ACF RID: 2767
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000ACF")]
private ContentDisposition contentDisposition;
// Token: 0x04000AD0 RID: 2768
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000AD0")]
private Encoding nameEncoding;
}
}
+146
View File
@@ -0,0 +1,146 @@
using System;
using System.IO;
using System.Net.Mime;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Base class that represents an email attachment. Classes <see cref="T:System.Net.Mail.Attachment" />, <see cref="T:System.Net.Mail.AlternateView" />, and <see cref="T:System.Net.Mail.LinkedResource" /> derive from this class.</summary>
// Token: 0x020002B5 RID: 693
[Token(Token = "0x20002B5")]
public abstract class AttachmentBase : IDisposable
{
/// <summary>Instantiates an <see cref="T:System.Net.Mail.AttachmentBase" /> with the specified <see cref="T:System.IO.Stream" /> and <see cref="T:System.Net.Mime.ContentType" />.</summary>
/// <param name="contentStream">A stream containing the content for this attachment.</param>
/// <param name="contentType">The type of the content.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="contentStream" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="contentType" /> is not a valid value.</exception>
// Token: 0x06001238 RID: 4664 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001238")]
[Address(RVA = "0x2225EC0", Offset = "0x2224CC0", VA = "0x182225EC0")]
protected AttachmentBase(Stream contentStream, ContentType contentType)
{
}
/// <summary>Instantiates an <see cref="T:System.Net.Mail.AttachmentBase" /> with the specified <see cref="T:System.IO.Stream" /> and media type.</summary>
/// <param name="contentStream">A stream containing the content for this attachment.</param>
/// <param name="mediaType">The MIME media type of the content.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="contentStream" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="mediaType" /> is not a valid value.</exception>
// Token: 0x06001239 RID: 4665 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001239")]
[Address(RVA = "0x2225FD0", Offset = "0x2224DD0", VA = "0x182225FD0")]
protected AttachmentBase(Stream contentStream, string mediaType)
{
}
/// <summary>Gets or sets the MIME content ID for this attachment.</summary>
/// <returns>A <see cref="T:System.String" /> holding the content ID.</returns>
/// <exception cref="T:System.ArgumentNullException">Attempted to set <see cref="P:System.Net.Mail.AttachmentBase.ContentId" /> to <see langword="null" />.</exception>
// Token: 0x170003B3 RID: 947
// (get) Token: 0x0600123A RID: 4666 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B3")]
public string ContentId
{
[Token(Token = "0x600123A")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
/// <summary>Gets the content stream of this attachment.</summary>
/// <returns>The content stream of this attachment.</returns>
// Token: 0x170003B4 RID: 948
// (get) Token: 0x0600123B RID: 4667 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B4")]
public Stream ContentStream
{
[Token(Token = "0x600123B")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
get
{
return null;
}
}
/// <summary>Gets the content type of this attachment.</summary>
/// <returns>The content type for this attachment.</returns>
// Token: 0x170003B5 RID: 949
// (get) Token: 0x0600123C RID: 4668 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B5")]
public ContentType ContentType
{
[Token(Token = "0x600123C")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return null;
}
}
/// <summary>Gets or sets the encoding of this attachment.</summary>
/// <returns>The encoding for this attachment.</returns>
// Token: 0x170003B6 RID: 950
// (get) Token: 0x0600123D RID: 4669 RVA: 0x000087A8 File Offset: 0x000069A8
// (set) Token: 0x0600123E RID: 4670 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170003B6")]
public TransferEncoding TransferEncoding
{
[Token(Token = "0x600123D")]
[Address(RVA = "0x42EE50", Offset = "0x42DC50", VA = "0x18042EE50")]
get
{
return TransferEncoding.QuotedPrintable;
}
[Token(Token = "0x600123E")]
[Address(RVA = "0x42EFF0", Offset = "0x42DDF0", VA = "0x18042EFF0")]
set
{
}
}
/// <summary>Releases the resources used by the <see cref="T:System.Net.Mail.AttachmentBase" />.</summary>
// Token: 0x0600123F RID: 4671 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600123F")]
[Address(RVA = "0xF3D5B0", Offset = "0xF3C3B0", VA = "0x180F3D5B0", Slot = "4")]
public void Dispose()
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Mail.AttachmentBase" /> and optionally releases the managed resources.</summary>
/// <param name="disposing">
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
// Token: 0x06001240 RID: 4672 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001240")]
[Address(RVA = "0x2225E80", Offset = "0x2224C80", VA = "0x182225E80", Slot = "5")]
protected virtual void Dispose(bool disposing)
{
}
// Token: 0x04000AD1 RID: 2769
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000AD1")]
private string id;
// Token: 0x04000AD2 RID: 2770
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000AD2")]
private ContentType contentType;
// Token: 0x04000AD3 RID: 2771
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000AD3")]
private Stream contentStream;
// Token: 0x04000AD4 RID: 2772
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000AD4")]
private TransferEncoding transferEncoding;
}
}
+55
View File
@@ -0,0 +1,55 @@
using System;
using System.Collections.ObjectModel;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Stores attachments to be sent as part of an email message.</summary>
// Token: 0x020002B6 RID: 694
[Token(Token = "0x20002B6")]
public sealed class AttachmentCollection : Collection<Attachment>, IDisposable
{
// Token: 0x06001241 RID: 4673 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001241")]
[Address(RVA = "0x22262E0", Offset = "0x22250E0", VA = "0x1822262E0")]
internal AttachmentCollection()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Net.Mail.AttachmentCollection" />.</summary>
// Token: 0x06001242 RID: 4674 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001242")]
[Address(RVA = "0x2226130", Offset = "0x2224F30", VA = "0x182226130", Slot = "39")]
public void Dispose()
{
}
// Token: 0x06001243 RID: 4675 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001243")]
[Address(RVA = "0x22260F0", Offset = "0x2224EF0", VA = "0x1822260F0", Slot = "35")]
protected override void ClearItems()
{
}
// Token: 0x06001244 RID: 4676 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001244")]
[Address(RVA = "0x22261D0", Offset = "0x2224FD0", VA = "0x1822261D0", Slot = "36")]
protected override void InsertItem(int index, Attachment item)
{
}
// Token: 0x06001245 RID: 4677 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001245")]
[Address(RVA = "0x2226230", Offset = "0x2225030", VA = "0x182226230", Slot = "37")]
protected override void RemoveItem(int index)
{
}
// Token: 0x06001246 RID: 4678 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001246")]
[Address(RVA = "0x2226280", Offset = "0x2225080", VA = "0x182226280", Slot = "38")]
protected override void SetItem(int index, Attachment item)
{
}
}
}
+12
View File
@@ -0,0 +1,12 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Represents an embedded external resource in an email attachment, such as an image in an HTML attachment.</summary>
// Token: 0x020002B7 RID: 695
[Token(Token = "0x20002B7")]
public class LinkedResource : AttachmentBase
{
}
}
@@ -0,0 +1,62 @@
using System;
using System.Collections.ObjectModel;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Stores linked resources to be sent as part of an email message.</summary>
// Token: 0x020002B8 RID: 696
[Token(Token = "0x20002B8")]
public sealed class LinkedResourceCollection : Collection<LinkedResource>, IDisposable
{
// Token: 0x06001247 RID: 4679 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001247")]
[Address(RVA = "0x2229A80", Offset = "0x2228880", VA = "0x182229A80")]
internal LinkedResourceCollection()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Net.Mail.LinkedResourceCollection" />.</summary>
// Token: 0x06001248 RID: 4680 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001248")]
[Address(RVA = "0x2229910", Offset = "0x2228710", VA = "0x182229910", Slot = "39")]
public void Dispose()
{
}
// Token: 0x06001249 RID: 4681 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001249")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
private void Dispose(bool disposing)
{
}
// Token: 0x0600124A RID: 4682 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600124A")]
[Address(RVA = "0x22298D0", Offset = "0x22286D0", VA = "0x1822298D0", Slot = "35")]
protected override void ClearItems()
{
}
// Token: 0x0600124B RID: 4683 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600124B")]
[Address(RVA = "0x2229970", Offset = "0x2228770", VA = "0x182229970", Slot = "36")]
protected override void InsertItem(int index, LinkedResource item)
{
}
// Token: 0x0600124C RID: 4684 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600124C")]
[Address(RVA = "0x22299D0", Offset = "0x22287D0", VA = "0x1822299D0", Slot = "37")]
protected override void RemoveItem(int index)
{
}
// Token: 0x0600124D RID: 4685 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600124D")]
[Address(RVA = "0x2229A20", Offset = "0x2228820", VA = "0x182229A20", Slot = "38")]
protected override void SetItem(int index, LinkedResource item)
{
}
}
}
+171
View File
@@ -0,0 +1,171 @@
using System;
using System.Text;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Represents the address of an electronic mail sender or recipient.</summary>
// Token: 0x020002B9 RID: 697
[Token(Token = "0x20002B9")]
public class MailAddress
{
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.MailAddress" /> class using the specified address.</summary>
/// <param name="address">A <see cref="T:System.String" /> that contains an email address.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="address" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="address" /> is <see cref="F:System.String.Empty" /> ("").</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="address" /> is not in a recognized format.</exception>
// Token: 0x0600124E RID: 4686 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600124E")]
[Address(RVA = "0x222AD20", Offset = "0x2229B20", VA = "0x18222AD20")]
public MailAddress(string address)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.MailAddress" /> class using the specified address and display name.</summary>
/// <param name="address">A <see cref="T:System.String" /> that contains an email address.</param>
/// <param name="displayName">A <see cref="T:System.String" /> that contains the display name associated with <paramref name="address" />. This parameter can be <see langword="null" />.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="address" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="address" /> is <see cref="F:System.String.Empty" /> ("").</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="address" /> is not in a recognized format.
/// -or-
/// <paramref name="address" /> contains non-ASCII characters.</exception>
// 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)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.MailAddress" /> class using the specified address, display name, and encoding.</summary>
/// <param name="address">A <see cref="T:System.String" /> that contains an email address.</param>
/// <param name="displayName">A <see cref="T:System.String" /> that contains the display name associated with <paramref name="address" />.</param>
/// <param name="displayNameEncoding">The <see cref="T:System.Text.Encoding" /> that defines the character set used for <paramref name="displayName" />.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="address" /> is <see langword="null" />.
/// -or-
/// <paramref name="displayName" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="address" /> is <see cref="F:System.String.Empty" /> ("").
/// -or-
/// <paramref name="displayName" /> is <see cref="F:System.String.Empty" /> ("").</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="address" /> is not in a recognized format.
/// -or-
/// <paramref name="address" /> contains non-ASCII characters.</exception>
// 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)
{
}
/// <summary>Gets the email address specified when this instance was created.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the email address.</returns>
// 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;
}
}
/// <summary>Gets the display name composed from the display name and address information specified when this instance was created.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the display name; otherwise, <see cref="F:System.String.Empty" /> ("") if no display name information was specified when this instance was created.</returns>
// 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;
}
}
/// <summary>Compares two mail addresses.</summary>
/// <param name="value">A <see cref="T:System.Net.Mail.MailAddress" /> instance to compare to the current instance.</param>
/// <returns>
/// <see langword="true" /> if the two mail addresses are equal; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Returns a hash value for a mail address.</summary>
/// <returns>An integer hash value.</returns>
// 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;
}
/// <summary>Returns a string representation of this instance.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the contents of this <see cref="T:System.Net.Mail.MailAddress" />.</returns>
// 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;
}
}
+64
View File
@@ -0,0 +1,64 @@
using System;
using System.Collections.ObjectModel;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Store email addresses that are associated with an email message.</summary>
// Token: 0x020002BA RID: 698
[Token(Token = "0x20002BA")]
public class MailAddressCollection : Collection<MailAddress>
{
/// <summary>Add a list of email addresses to the collection.</summary>
/// <param name="addresses">The email addresses to add to the <see cref="T:System.Net.Mail.MailAddressCollection" />. Multiple email addresses must be separated with a comma character (",").</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="addresses" /> parameter is null.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="addresses" /> parameter is an empty string.</exception>
/// <exception cref="T:System.FormatException">The <paramref name="addresses" /> parameter contains an email address that is invalid or not supported.</exception>
// Token: 0x06001258 RID: 4696 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001258")]
[Address(RVA = "0x222A320", Offset = "0x2229120", VA = "0x18222A320")]
public void Add(string addresses)
{
}
/// <summary>Inserts an email address into the <see cref="T:System.Net.Mail.MailAddressCollection" />, at the specified location.</summary>
/// <param name="index">The location at which to insert the email address that is specified by <paramref name="item" />.</param>
/// <param name="item">The email address to be inserted into the collection.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="item" /> parameter is null.</exception>
// Token: 0x06001259 RID: 4697 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001259")]
[Address(RVA = "0x222A4F0", Offset = "0x22292F0", VA = "0x18222A4F0", Slot = "36")]
protected override void InsertItem(int index, MailAddress item)
{
}
/// <summary>Replaces the element at the specified index.</summary>
/// <param name="index">The index of the email address element to be replaced.</param>
/// <param name="item">An email address that will replace the element in the collection.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="item" /> parameter is null.</exception>
// Token: 0x0600125A RID: 4698 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600125A")]
[Address(RVA = "0x222A580", Offset = "0x2229380", VA = "0x18222A580", Slot = "38")]
protected override void SetItem(int index, MailAddress item)
{
}
/// <summary>Returns a string representation of the email addresses in this <see cref="T:System.Net.Mail.MailAddressCollection" /> object.</summary>
/// <returns>A <see cref="T:System.String" /> containing the email addresses in this collection.</returns>
// Token: 0x0600125B RID: 4699 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600125B")]
[Address(RVA = "0x222A610", Offset = "0x2229410", VA = "0x18222A610", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Initializes an empty instance of the <see cref="T:System.Net.Mail.MailAddressCollection" /> class.</summary>
// Token: 0x0600125C RID: 4700 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600125C")]
[Address(RVA = "0x222A710", Offset = "0x2229510", VA = "0x18222A710")]
public MailAddressCollection()
{
}
}
}
+458
View File
@@ -0,0 +1,458 @@
using System;
using System.Collections.Specialized;
using System.Net.Mime;
using System.Text;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Represents an email message that can be sent using the <see cref="T:System.Net.Mail.SmtpClient" /> class.</summary>
// Token: 0x020002BB RID: 699
[Token(Token = "0x20002BB")]
public class MailMessage : IDisposable
{
/// <summary>Initializes an empty instance of the <see cref="T:System.Net.Mail.MailMessage" /> class.</summary>
// Token: 0x0600125D RID: 4701 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600125D")]
[Address(RVA = "0x222DC60", Offset = "0x222CA60", VA = "0x18222DC60")]
public MailMessage()
{
}
/// <summary>Gets the attachment collection used to store alternate forms of the message body.</summary>
/// <returns>A writable <see cref="T:System.Net.Mail.AlternateViewCollection" />.</returns>
// Token: 0x170003B9 RID: 953
// (get) Token: 0x0600125E RID: 4702 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B9")]
public AlternateViewCollection AlternateViews
{
[Token(Token = "0x600125E")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
/// <summary>Gets the attachment collection used to store data attached to this email message.</summary>
/// <returns>A writable <see cref="T:System.Net.Mail.AttachmentCollection" />.</returns>
// Token: 0x170003BA RID: 954
// (get) Token: 0x0600125F RID: 4703 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003BA")]
public AttachmentCollection Attachments
{
[Token(Token = "0x600125F")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return null;
}
}
/// <summary>Gets the address collection that contains the blind carbon copy (BCC) recipients for this email message.</summary>
/// <returns>A writable <see cref="T:System.Net.Mail.MailAddressCollection" /> object.</returns>
// Token: 0x170003BB RID: 955
// (get) Token: 0x06001260 RID: 4704 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003BB")]
public MailAddressCollection Bcc
{
[Token(Token = "0x6001260")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
get
{
return null;
}
}
/// <summary>Gets or sets the message body.</summary>
/// <returns>A <see cref="T:System.String" /> value that contains the body text.</returns>
// Token: 0x170003BC RID: 956
// (get) Token: 0x06001261 RID: 4705 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06001262 RID: 4706 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170003BC")]
public string Body
{
[Token(Token = "0x6001261")]
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
get
{
return null;
}
[Token(Token = "0x6001262")]
[Address(RVA = "0x222E080", Offset = "0x222CE80", VA = "0x18222E080")]
set
{
}
}
// Token: 0x170003BD RID: 957
// (get) Token: 0x06001263 RID: 4707 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003BD")]
internal ContentType BodyContentType
{
[Token(Token = "0x6001263")]
[Address(RVA = "0x222DE70", Offset = "0x222CC70", VA = "0x18222DE70")]
get
{
return null;
}
}
// Token: 0x170003BE RID: 958
// (get) Token: 0x06001264 RID: 4708 RVA: 0x000087F0 File Offset: 0x000069F0
[Token(Token = "0x170003BE")]
internal TransferEncoding ContentTransferEncoding
{
[Token(Token = "0x6001264")]
[Address(RVA = "0x222DF30", Offset = "0x222CD30", VA = "0x18222DF30")]
get
{
return TransferEncoding.QuotedPrintable;
}
}
/// <summary>Gets or sets the encoding used to encode the message body.</summary>
/// <returns>An <see cref="T:System.Text.Encoding" /> applied to the contents of the <see cref="P:System.Net.Mail.MailMessage.Body" />.</returns>
// Token: 0x170003BF RID: 959
// (get) Token: 0x06001265 RID: 4709 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003BF")]
public Encoding BodyEncoding
{
[Token(Token = "0x6001265")]
[Address(RVA = "0x4391F0", Offset = "0x437FF0", VA = "0x1804391F0")]
get
{
return null;
}
}
/// <summary>Gets the address collection that contains the carbon copy (CC) recipients for this email message.</summary>
/// <returns>A writable <see cref="T:System.Net.Mail.MailAddressCollection" /> object.</returns>
// Token: 0x170003C0 RID: 960
// (get) Token: 0x06001266 RID: 4710 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003C0")]
public MailAddressCollection CC
{
[Token(Token = "0x6001266")]
[Address(RVA = "0x3FA170", Offset = "0x3F8F70", VA = "0x1803FA170")]
get
{
return null;
}
}
/// <summary>Gets or sets the from address for this email message.</summary>
/// <returns>A <see cref="T:System.Net.Mail.MailAddress" /> that contains the from address information.</returns>
// Token: 0x170003C1 RID: 961
// (get) Token: 0x06001267 RID: 4711 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06001268 RID: 4712 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170003C1")]
public MailAddress From
{
[Token(Token = "0x6001267")]
[Address(RVA = "0x415290", Offset = "0x414090", VA = "0x180415290")]
get
{
return null;
}
[Token(Token = "0x6001268")]
[Address(RVA = "0x46AB00", Offset = "0x469900", VA = "0x18046AB00")]
set
{
}
}
/// <summary>Gets the email headers that are transmitted with this email message.</summary>
/// <returns>A <see cref="T:System.Collections.Specialized.NameValueCollection" /> that contains the email headers.</returns>
// Token: 0x170003C2 RID: 962
// (get) Token: 0x06001269 RID: 4713 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003C2")]
public NameValueCollection Headers
{
[Token(Token = "0x6001269")]
[Address(RVA = "0x423D40", Offset = "0x422B40", VA = "0x180423D40")]
get
{
return null;
}
}
/// <summary>Gets or sets a value indicating whether the mail message body is in HTML.</summary>
/// <returns>
/// <see langword="true" /> if the message body is in HTML; else <see langword="false" />. The default is <see langword="false" />.</returns>
// Token: 0x170003C3 RID: 963
// (get) Token: 0x0600126A RID: 4714 RVA: 0x00008808 File Offset: 0x00006A08
[Token(Token = "0x170003C3")]
public bool IsBodyHtml
{
[Token(Token = "0x600126A")]
[Address(RVA = "0x535D70", Offset = "0x534B70", VA = "0x180535D70")]
get
{
return default(bool);
}
}
/// <summary>Gets or sets the priority of this email message.</summary>
/// <returns>A <see cref="T:System.Net.Mail.MailPriority" /> that contains the priority of this message.</returns>
// Token: 0x170003C4 RID: 964
// (get) Token: 0x0600126B RID: 4715 RVA: 0x00008820 File Offset: 0x00006A20
[Token(Token = "0x170003C4")]
public MailPriority Priority
{
[Token(Token = "0x600126B")]
[Address(RVA = "0x40FFE0", Offset = "0x40EDE0", VA = "0x18040FFE0")]
get
{
return MailPriority.Normal;
}
}
/// <summary>Gets or sets the encoding used for the user-defined custom headers for this email message.</summary>
/// <returns>The encoding used for user-defined custom headers for this email message.</returns>
// Token: 0x170003C5 RID: 965
// (get) Token: 0x0600126C RID: 4716 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003C5")]
public Encoding HeadersEncoding
{
[Token(Token = "0x600126C")]
[Address(RVA = "0x567CE0", Offset = "0x566AE0", VA = "0x180567CE0")]
get
{
return null;
}
}
/// <summary>Gets the list of addresses to reply to for the mail message.</summary>
/// <returns>The list of the addresses to reply to for the mail message.</returns>
// Token: 0x170003C6 RID: 966
// (get) Token: 0x0600126D RID: 4717 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003C6")]
public MailAddressCollection ReplyToList
{
[Token(Token = "0x600126D")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
get
{
return null;
}
}
/// <summary>Gets or sets the sender's address for this email message.</summary>
/// <returns>A <see cref="T:System.Net.Mail.MailAddress" /> that contains the sender's address information.</returns>
// Token: 0x170003C7 RID: 967
// (get) Token: 0x0600126E RID: 4718 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003C7")]
public MailAddress Sender
{
[Token(Token = "0x600126E")]
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890")]
get
{
return null;
}
}
/// <summary>Gets or sets the subject line for this email message.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the subject content.</returns>
// Token: 0x170003C8 RID: 968
// (get) Token: 0x0600126F RID: 4719 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06001270 RID: 4720 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170003C8")]
public string Subject
{
[Token(Token = "0x600126F")]
[Address(RVA = "0x423E10", Offset = "0x422C10", VA = "0x180423E10")]
get
{
return null;
}
[Token(Token = "0x6001270")]
[Address(RVA = "0x222E0E0", Offset = "0x222CEE0", VA = "0x18222E0E0")]
set
{
}
}
/// <summary>Gets or sets the encoding used for the subject content for this email message.</summary>
/// <returns>An <see cref="T:System.Text.Encoding" /> that was used to encode the <see cref="P:System.Net.Mail.MailMessage.Subject" /> property.</returns>
// Token: 0x170003C9 RID: 969
// (get) Token: 0x06001271 RID: 4721 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003C9")]
public Encoding SubjectEncoding
{
[Token(Token = "0x6001271")]
[Address(RVA = "0x4335D0", Offset = "0x4323D0", VA = "0x1804335D0")]
get
{
return null;
}
}
/// <summary>Gets the address collection that contains the recipients of this email message.</summary>
/// <returns>A writable <see cref="T:System.Net.Mail.MailAddressCollection" /> object.</returns>
// Token: 0x170003CA RID: 970
// (get) Token: 0x06001272 RID: 4722 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003CA")]
public MailAddressCollection To
{
[Token(Token = "0x6001272")]
[Address(RVA = "0x423DE0", Offset = "0x422BE0", VA = "0x180423DE0")]
get
{
return null;
}
}
/// <summary>Releases all resources used by the <see cref="T:System.Net.Mail.MailMessage" />.</summary>
// Token: 0x06001273 RID: 4723 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001273")]
[Address(RVA = "0x222D600", Offset = "0x222C400", VA = "0x18222D600", Slot = "4")]
public void Dispose()
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Mail.MailMessage" /> and optionally releases the managed resources.</summary>
/// <param name="disposing">
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
// Token: 0x06001274 RID: 4724 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001274")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "5")]
protected virtual void Dispose(bool disposing)
{
}
// Token: 0x06001275 RID: 4725 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001275")]
[Address(RVA = "0x222D8A0", Offset = "0x222C6A0", VA = "0x18222D8A0")]
private Encoding GuessEncoding(string s)
{
return null;
}
// Token: 0x06001276 RID: 4726 RVA: 0x00008838 File Offset: 0x00006A38
[Token(Token = "0x6001276")]
[Address(RVA = "0x222D950", Offset = "0x222C750", VA = "0x18222D950")]
internal static TransferEncoding GuessTransferEncoding(Encoding enc)
{
return TransferEncoding.QuotedPrintable;
}
// Token: 0x06001277 RID: 4727 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001277")]
[Address(RVA = "0x222DA40", Offset = "0x222C840", VA = "0x18222DA40")]
internal static string To2047(byte[] bytes)
{
return null;
}
// Token: 0x06001278 RID: 4728 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001278")]
[Address(RVA = "0x222D670", Offset = "0x222C470", VA = "0x18222D670")]
internal static string EncodeSubjectRFC2047(string s, Encoding enc)
{
return null;
}
// Token: 0x170003CB RID: 971
// (get) Token: 0x06001279 RID: 4729 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003CB")]
private static Encoding UTF8Unmarked
{
[Token(Token = "0x6001279")]
[Address(RVA = "0x222DF90", Offset = "0x222CD90", VA = "0x18222DF90")]
get
{
return null;
}
}
// Token: 0x04000ADA RID: 2778
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000ADA")]
private AlternateViewCollection alternateViews;
// Token: 0x04000ADB RID: 2779
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000ADB")]
private AttachmentCollection attachments;
// Token: 0x04000ADC RID: 2780
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000ADC")]
private MailAddressCollection bcc;
// Token: 0x04000ADD RID: 2781
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000ADD")]
private MailAddressCollection replyTo;
// Token: 0x04000ADE RID: 2782
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000ADE")]
private string body;
// Token: 0x04000ADF RID: 2783
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000ADF")]
private MailPriority priority;
// Token: 0x04000AE0 RID: 2784
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000AE0")]
private MailAddress sender;
// Token: 0x04000AE1 RID: 2785
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000AE1")]
private MailAddressCollection cc;
// Token: 0x04000AE2 RID: 2786
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000AE2")]
private MailAddress from;
// Token: 0x04000AE3 RID: 2787
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000AE3")]
private NameValueCollection headers;
// Token: 0x04000AE4 RID: 2788
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x4000AE4")]
private MailAddressCollection to;
// Token: 0x04000AE5 RID: 2789
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x4000AE5")]
private string subject;
// Token: 0x04000AE6 RID: 2790
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x4000AE6")]
private Encoding subjectEncoding;
// Token: 0x04000AE7 RID: 2791
[FieldOffset(Offset = "0x78")]
[Token(Token = "0x4000AE7")]
private Encoding bodyEncoding;
// Token: 0x04000AE8 RID: 2792
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x4000AE8")]
private Encoding headersEncoding;
// Token: 0x04000AE9 RID: 2793
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x4000AE9")]
private bool isHtml;
// Token: 0x04000AEA RID: 2794
[Token(Token = "0x4000AEA")]
private static char[] hex;
// Token: 0x04000AEB RID: 2795
[Token(Token = "0x4000AEB")]
private static Encoding utf8unmarked;
}
}
+24
View File
@@ -0,0 +1,24 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Specifies the priority of a <see cref="T:System.Net.Mail.MailMessage" />.</summary>
// Token: 0x020002BC RID: 700
[Token(Token = "0x20002BC")]
public enum MailPriority
{
/// <summary>The email has normal priority.</summary>
// Token: 0x04000AED RID: 2797
[Token(Token = "0x4000AED")]
Normal,
/// <summary>The email has low priority.</summary>
// Token: 0x04000AEE RID: 2798
[Token(Token = "0x4000AEE")]
Low,
/// <summary>The email has high priority.</summary>
// Token: 0x04000AEF RID: 2799
[Token(Token = "0x4000AEF")]
High
}
}
+624
View File
@@ -0,0 +1,624 @@
using System;
using System.ComponentModel;
using System.IO;
using System.Net.Mime;
using System.Net.Sockets;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Allows applications to send email by using the Simple Mail Transfer Protocol (SMTP).</summary>
// Token: 0x020002BD RID: 701
[Token(Token = "0x20002BD")]
[Obsolete]
public class SmtpClient : IDisposable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpClient" /> class that sends email by using the specified SMTP server.</summary>
/// <param name="host">A <see cref="T:System.String" /> that contains the name or IP address of the host computer used for SMTP transactions.</param>
// Token: 0x0600127B RID: 4731 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600127B")]
[Address(RVA = "0x223BC90", Offset = "0x223AA90", VA = "0x18223BC90")]
public SmtpClient(string host)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpClient" /> class that sends email by using the specified SMTP server and port.</summary>
/// <param name="host">A <see cref="T:System.String" /> that contains the name or IP address of the host used for SMTP transactions.</param>
/// <param name="port">An <see cref="T:System.Int32" /> greater than zero that contains the port to be used on <paramref name="host" />.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="port" /> cannot be less than zero.</exception>
// Token: 0x0600127C RID: 4732 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600127C")]
[Address(RVA = "0x223BBE0", Offset = "0x223A9E0", VA = "0x18223BBE0")]
public SmtpClient(string host, int port)
{
}
/// <summary>Specify which certificates should be used to establish the Secure Sockets Layer (SSL) connection.</summary>
/// <returns>An <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />, holding one or more client certificates. The default value is derived from the mail configuration attributes in a configuration file.</returns>
// Token: 0x170003CC RID: 972
// (get) Token: 0x0600127D RID: 4733 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003CC")]
[MonoTODO]
public X509CertificateCollection ClientCertificates
{
[Token(Token = "0x600127D")]
[Address(RVA = "0x223BD30", Offset = "0x223AB30", VA = "0x18223BD30")]
get
{
return null;
}
}
/// <summary>Gets or sets the credentials used to authenticate the sender.</summary>
/// <returns>An <see cref="T:System.Net.ICredentialsByHost" /> that represents the credentials to use for authentication; or <see langword="null" /> if no credentials have been specified.</returns>
/// <exception cref="T:System.InvalidOperationException">You cannot change the value of this property when an email is being sent.</exception>
// Token: 0x170003CD RID: 973
// (get) Token: 0x0600127E RID: 4734 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x0600127F RID: 4735 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170003CD")]
public ICredentialsByHost Credentials
{
[Token(Token = "0x600127E")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
get
{
return null;
}
[Token(Token = "0x600127F")]
[Address(RVA = "0x223BD90", Offset = "0x223AB90", VA = "0x18223BD90")]
set
{
}
}
/// <summary>Specify whether the <see cref="T:System.Net.Mail.SmtpClient" /> uses Secure Sockets Layer (SSL) to encrypt the connection.</summary>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Net.Mail.SmtpClient" /> uses SSL; otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
// Token: 0x170003CE RID: 974
// (set) Token: 0x06001280 RID: 4736 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170003CE")]
public bool EnableSsl
{
[Token(Token = "0x6001280")]
[Address(RVA = "0x223BE10", Offset = "0x223AC10", VA = "0x18223BE10")]
set
{
}
}
/// <summary>Gets or sets the name or IP address of the host used for SMTP transactions.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the name or IP address of the computer to use for SMTP transactions.</returns>
/// <exception cref="T:System.ArgumentNullException">The value specified for a set operation is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The value specified for a set operation is equal to <see cref="F:System.String.Empty" /> ("").</exception>
/// <exception cref="T:System.InvalidOperationException">You cannot change the value of this property when an email is being sent.</exception>
// Token: 0x170003CF RID: 975
// (get) Token: 0x06001281 RID: 4737 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003CF")]
public string Host
{
[Token(Token = "0x6001281")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
/// <summary>Gets or sets the port used for SMTP transactions.</summary>
/// <returns>An <see cref="T:System.Int32" /> that contains the port number on the SMTP host. The default value is 25.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">The value specified for a set operation is less than or equal to zero.</exception>
/// <exception cref="T:System.InvalidOperationException">You cannot change the value of this property when an email is being sent.</exception>
// Token: 0x170003D0 RID: 976
// (set) Token: 0x06001282 RID: 4738 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170003D0")]
public int Port
{
[Token(Token = "0x6001282")]
[Address(RVA = "0x223BE90", Offset = "0x223AC90", VA = "0x18223BE90")]
set
{
}
}
/// <summary>Gets or sets a <see cref="T:System.Boolean" /> value that controls whether the <see cref="P:System.Net.CredentialCache.DefaultCredentials" /> are sent with requests.</summary>
/// <returns>
/// <see langword="true" /> if the default credentials are used; otherwise <see langword="false" />. The default value is <see langword="false" />.</returns>
/// <exception cref="T:System.InvalidOperationException">You cannot change the value of this property when an email is being sent.</exception>
// Token: 0x170003D1 RID: 977
// (get) Token: 0x06001283 RID: 4739 RVA: 0x00008850 File Offset: 0x00006A50
[Token(Token = "0x170003D1")]
public bool UseDefaultCredentials
{
[Token(Token = "0x6001283")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
get
{
return default(bool);
}
}
/// <summary>Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, and releases all resources used by the current instance of the <see cref="T:System.Net.Mail.SmtpClient" /> class.</summary>
// Token: 0x06001284 RID: 4740 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001284")]
[Address(RVA = "0xF3D5B0", Offset = "0xF3C3B0", VA = "0x180F3D5B0", Slot = "4")]
public void Dispose()
{
}
/// <summary>Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, releases all resources used by the current instance of the <see cref="T:System.Net.Mail.SmtpClient" /> class, and optionally disposes of the managed resources.</summary>
/// <param name="disposing">
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to releases only unmanaged resources.</param>
// Token: 0x06001285 RID: 4741 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001285")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "5")]
[MonoTODO]
protected virtual void Dispose(bool disposing)
{
}
// Token: 0x06001286 RID: 4742 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001286")]
[Address(RVA = "0x2236800", Offset = "0x2235600", VA = "0x182236800")]
private void CheckState()
{
}
// Token: 0x06001287 RID: 4743 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001287")]
[Address(RVA = "0x2236900", Offset = "0x2235700", VA = "0x182236900")]
private static string EncodeAddress(MailAddress address)
{
return null;
}
// Token: 0x06001288 RID: 4744 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001288")]
[Address(RVA = "0x2236BF0", Offset = "0x22359F0", VA = "0x182236BF0")]
private static string EncodeAddresses(MailAddressCollection addresses)
{
return null;
}
// Token: 0x06001289 RID: 4745 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001289")]
[Address(RVA = "0x2237060", Offset = "0x2235E60", VA = "0x182237060")]
private string EncodeSubjectRFC2047(MailMessage message)
{
return null;
}
// Token: 0x0600128A RID: 4746 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600128A")]
[Address(RVA = "0x2236F20", Offset = "0x2235D20", VA = "0x182236F20")]
private string EncodeBody(MailMessage message)
{
return null;
}
// Token: 0x0600128B RID: 4747 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600128B")]
[Address(RVA = "0x2236DE0", Offset = "0x2235BE0", VA = "0x182236DE0")]
private string EncodeBody(AlternateView av)
{
return null;
}
// Token: 0x0600128C RID: 4748 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600128C")]
[Address(RVA = "0x22370E0", Offset = "0x2235EE0", VA = "0x1822370E0")]
private void EndSection(string section)
{
}
// Token: 0x0600128D RID: 4749 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600128D")]
[Address(RVA = "0x2237160", Offset = "0x2235F60", VA = "0x182237160")]
private string GenerateBoundary()
{
return null;
}
// Token: 0x0600128E RID: 4750 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600128E")]
[Address(RVA = "0x2237220", Offset = "0x2236020", VA = "0x182237220")]
private static string GenerateBoundary(int index)
{
return null;
}
// Token: 0x0600128F RID: 4751 RVA: 0x00008868 File Offset: 0x00006A68
[Token(Token = "0x600128F")]
[Address(RVA = "0x22376A0", Offset = "0x22364A0", VA = "0x1822376A0")]
private bool IsError(SmtpClient.SmtpResponse status)
{
return default(bool);
}
// Token: 0x06001290 RID: 4752 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001290")]
[Address(RVA = "0x2236790", Offset = "0x2235590", VA = "0x182236790")]
private void CheckCancellation()
{
}
// Token: 0x06001291 RID: 4753 RVA: 0x00008880 File Offset: 0x00006A80
[Token(Token = "0x6001291")]
[Address(RVA = "0x22378E0", Offset = "0x22366E0", VA = "0x1822378E0")]
private SmtpClient.SmtpResponse Read()
{
return default(SmtpClient.SmtpResponse);
}
// Token: 0x06001292 RID: 4754 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001292")]
[Address(RVA = "0x2237C90", Offset = "0x2236A90", VA = "0x182237C90")]
private void ResetExtensions()
{
}
// Token: 0x06001293 RID: 4755 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001293")]
[Address(RVA = "0x22376B0", Offset = "0x22364B0", VA = "0x1822376B0")]
private void ParseExtensions(string extens)
{
}
/// <summary>Sends the specified message to an SMTP server for delivery.</summary>
/// <param name="message">A <see cref="T:System.Net.Mail.MailMessage" /> that contains the message to send.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="message" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">This <see cref="T:System.Net.Mail.SmtpClient" /> has a <see cref="Overload:System.Net.Mail.SmtpClient.SendAsync" /> call in progress.
/// -or-
/// <see cref="P:System.Net.Mail.MailMessage.From" /> is <see langword="null" />.
/// -or-
/// There are no recipients specified in <see cref="P:System.Net.Mail.MailMessage.To" />, <see cref="P:System.Net.Mail.MailMessage.CC" />, and <see cref="P:System.Net.Mail.MailMessage.Bcc" /> properties.
/// -or-
/// <see cref="P:System.Net.Mail.SmtpClient.DeliveryMethod" /> property is set to <see cref="F:System.Net.Mail.SmtpDeliveryMethod.Network" /> and <see cref="P:System.Net.Mail.SmtpClient.Host" /> is <see langword="null" />.
/// -or-
/// <see cref="P:System.Net.Mail.SmtpClient.DeliveryMethod" /> property is set to <see cref="F:System.Net.Mail.SmtpDeliveryMethod.Network" /> and <see cref="P:System.Net.Mail.SmtpClient.Host" /> is equal to the empty string ("").
/// -or-
/// <see cref="P:System.Net.Mail.SmtpClient.DeliveryMethod" /> property is set to <see cref="F:System.Net.Mail.SmtpDeliveryMethod.Network" /> and <see cref="P:System.Net.Mail.SmtpClient.Port" /> is zero, a negative number, or greater than 65,535.</exception>
/// <exception cref="T:System.ObjectDisposedException">This object has been disposed.</exception>
/// <exception cref="T:System.Net.Mail.SmtpException">The connection to the SMTP server failed.
/// -or-
/// Authentication failed.
/// -or-
/// The operation timed out.
/// -or-
/// <see cref="P:System.Net.Mail.SmtpClient.EnableSsl" /> is set to <see langword="true" /> but the <see cref="P:System.Net.Mail.SmtpClient.DeliveryMethod" /> property is set to <see cref="F:System.Net.Mail.SmtpDeliveryMethod.SpecifiedPickupDirectory" /> or <see cref="F:System.Net.Mail.SmtpDeliveryMethod.PickupDirectoryFromIis" />.
/// -or-
/// <see cref="P:System.Net.Mail.SmtpClient.EnableSsl" /> is set to <see langword="true," /> but the SMTP mail server did not advertise STARTTLS in the response to the EHLO command.</exception>
/// <exception cref="T:System.Net.Mail.SmtpFailedRecipientException">The <paramref name="message" /> could not be delivered to one of the recipients in <see cref="P:System.Net.Mail.MailMessage.To" />, <see cref="P:System.Net.Mail.MailMessage.CC" />, or <see cref="P:System.Net.Mail.MailMessage.Bcc" />.</exception>
/// <exception cref="T:System.Net.Mail.SmtpFailedRecipientsException">The <paramref name="message" /> could not be delivered to two or more of the recipients in <see cref="P:System.Net.Mail.MailMessage.To" />, <see cref="P:System.Net.Mail.MailMessage.CC" />, or <see cref="P:System.Net.Mail.MailMessage.Bcc" />.</exception>
// Token: 0x06001294 RID: 4756 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001294")]
[Address(RVA = "0x223B150", Offset = "0x2239F50", VA = "0x18223B150")]
public void Send(MailMessage message)
{
}
// Token: 0x06001295 RID: 4757 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001295")]
[Address(RVA = "0x2239F20", Offset = "0x2238D20", VA = "0x182239F20")]
private void SendInternal(MailMessage message)
{
}
// Token: 0x06001296 RID: 4758 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001296")]
[Address(RVA = "0x223A800", Offset = "0x2239600", VA = "0x18223A800")]
private void SendToFile(MailMessage message)
{
}
// Token: 0x06001297 RID: 4759 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001297")]
[Address(RVA = "0x2238B60", Offset = "0x2237960", VA = "0x182238B60")]
private void SendCore(MailMessage message)
{
}
// Token: 0x06001298 RID: 4760 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001298")]
[Address(RVA = "0x2239E40", Offset = "0x2238C40", VA = "0x182239E40")]
private void SendDot()
{
}
// Token: 0x06001299 RID: 4761 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001299")]
[Address(RVA = "0x2239C80", Offset = "0x2238A80", VA = "0x182239C80")]
private void SendData(string data)
{
}
// Token: 0x0600129A RID: 4762 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129A")]
[Address(RVA = "0x2236120", Offset = "0x2234F20", VA = "0x182236120")]
private void AddPriorityHeader(MailMessage message)
{
}
// Token: 0x0600129B RID: 4763 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129B")]
[Address(RVA = "0x223A460", Offset = "0x2239260", VA = "0x18223A460")]
private void SendSimpleBody(MailMessage message)
{
}
// Token: 0x0600129C RID: 4764 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129C")]
[Address(RVA = "0x2238820", Offset = "0x2237620", VA = "0x182238820")]
private void SendBodylessSingleAlternate(AlternateView av)
{
}
// Token: 0x0600129D RID: 4765 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129D")]
[Address(RVA = "0x223B060", Offset = "0x2239E60", VA = "0x18223B060")]
private void SendWithoutAttachments(MailMessage message, string boundary, bool attachmentExists)
{
}
// Token: 0x0600129E RID: 4766 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129E")]
[Address(RVA = "0x223AD20", Offset = "0x2239B20", VA = "0x18223AD20")]
private void SendWithAttachments(MailMessage message)
{
}
// Token: 0x0600129F RID: 4767 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600129F")]
[Address(RVA = "0x2238060", Offset = "0x2236E60", VA = "0x182238060")]
private void SendBodyWithAlternateViews(MailMessage message, string boundary, bool attachmentExists)
{
}
// Token: 0x060012A0 RID: 4768 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012A0")]
[Address(RVA = "0x223A100", Offset = "0x2238F00", VA = "0x18223A100")]
private void SendLinkedResources(MailMessage message, LinkedResourceCollection resources, string boundary)
{
}
// Token: 0x060012A1 RID: 4769 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012A1")]
[Address(RVA = "0x2237CA0", Offset = "0x2236AA0", VA = "0x182237CA0")]
private void SendAttachments(MailMessage message, Attachment body, string boundary)
{
}
// Token: 0x060012A2 RID: 4770 RVA: 0x00008898 File Offset: 0x00006A98
[Token(Token = "0x60012A2")]
[Address(RVA = "0x2238AA0", Offset = "0x22378A0", VA = "0x182238AA0")]
private SmtpClient.SmtpResponse SendCommand(string command)
{
return default(SmtpClient.SmtpResponse);
}
// Token: 0x060012A3 RID: 4771 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012A3")]
[Address(RVA = "0x2239EB0", Offset = "0x2238CB0", VA = "0x182239EB0")]
private void SendHeader(string name, string value)
{
}
// Token: 0x060012A4 RID: 4772 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012A4")]
[Address(RVA = "0x223B5B0", Offset = "0x223A3B0", VA = "0x18223B5B0")]
private void StartSection(string section, ContentType sectionContentType)
{
}
// Token: 0x060012A5 RID: 4773 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012A5")]
[Address(RVA = "0x223B3A0", Offset = "0x223A1A0", VA = "0x18223B3A0")]
private void StartSection(string section, ContentType sectionContentType, AttachmentBase att)
{
}
// Token: 0x060012A6 RID: 4774 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012A6")]
[Address(RVA = "0x223B6A0", Offset = "0x223A4A0", VA = "0x18223B6A0")]
private void StartSection(string section, ContentType sectionContentType, Attachment att, bool sendDisposition)
{
}
// Token: 0x060012A7 RID: 4775 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012A7")]
[Address(RVA = "0x223BBA0", Offset = "0x223A9A0", VA = "0x18223BBA0")]
private string ToQuotedPrintable(string input, Encoding enc)
{
return null;
}
// Token: 0x060012A8 RID: 4776 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012A8")]
[Address(RVA = "0x223B920", Offset = "0x223A720", VA = "0x18223B920")]
private string ToQuotedPrintable(byte[] bytes)
{
return null;
}
// Token: 0x060012A9 RID: 4777 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012A9")]
[Address(RVA = "0x22372D0", Offset = "0x22360D0", VA = "0x1822372D0")]
private static string GetTransferEncodingName(TransferEncoding encoding)
{
return null;
}
// Token: 0x060012AA RID: 4778 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012AA")]
[Address(RVA = "0x2237340", Offset = "0x2236140", VA = "0x182237340")]
private void InitiateSecureConnection()
{
}
// Token: 0x060012AB RID: 4779 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012AB")]
[Address(RVA = "0x22362C0", Offset = "0x22350C0", VA = "0x1822362C0")]
private void Authenticate()
{
}
// Token: 0x060012AC RID: 4780 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012AC")]
[Address(RVA = "0x2236870", Offset = "0x2235670", VA = "0x182236870")]
private void CheckStatus(SmtpClient.SmtpResponse status, int i)
{
}
// Token: 0x060012AD RID: 4781 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012AD")]
[Address(RVA = "0x2236390", Offset = "0x2235190", VA = "0x182236390")]
private void Authenticate(string user, string password)
{
}
// Token: 0x04000AF0 RID: 2800
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000AF0")]
private string host;
// Token: 0x04000AF1 RID: 2801
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000AF1")]
private int port;
// Token: 0x04000AF2 RID: 2802
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4000AF2")]
private int timeout;
// Token: 0x04000AF3 RID: 2803
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000AF3")]
private ICredentialsByHost credentials;
// Token: 0x04000AF4 RID: 2804
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000AF4")]
private string pickupDirectoryLocation;
// Token: 0x04000AF5 RID: 2805
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000AF5")]
private SmtpDeliveryMethod deliveryMethod;
// Token: 0x04000AF6 RID: 2806
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x4000AF6")]
private bool enableSsl;
// Token: 0x04000AF7 RID: 2807
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000AF7")]
private X509CertificateCollection clientCertificates;
// Token: 0x04000AF8 RID: 2808
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000AF8")]
private TcpClient client;
// Token: 0x04000AF9 RID: 2809
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000AF9")]
private Stream stream;
// Token: 0x04000AFA RID: 2810
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000AFA")]
private StreamWriter writer;
// Token: 0x04000AFB RID: 2811
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000AFB")]
private StreamReader reader;
// Token: 0x04000AFC RID: 2812
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x4000AFC")]
private int boundaryIndex;
// Token: 0x04000AFD RID: 2813
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x4000AFD")]
private MailAddress defaultFrom;
// Token: 0x04000AFE RID: 2814
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x4000AFE")]
private MailMessage messageInProcess;
// Token: 0x04000AFF RID: 2815
[FieldOffset(Offset = "0x78")]
[Token(Token = "0x4000AFF")]
private BackgroundWorker worker;
// Token: 0x04000B00 RID: 2816
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x4000B00")]
private SmtpClient.AuthMechs authMechs;
// Token: 0x04000B01 RID: 2817
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x4000B01")]
private Mutex mutex;
// Token: 0x020002BE RID: 702
[Token(Token = "0x20002BE")]
[Flags]
private enum AuthMechs
{
// Token: 0x04000B03 RID: 2819
[Token(Token = "0x4000B03")]
None = 0,
// Token: 0x04000B04 RID: 2820
[Token(Token = "0x4000B04")]
Login = 1,
// Token: 0x04000B05 RID: 2821
[Token(Token = "0x4000B05")]
Plain = 2
}
// Token: 0x020002BF RID: 703
[Token(Token = "0x20002BF")]
private class CancellationException : Exception
{
// Token: 0x060012AE RID: 4782 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012AE")]
[Address(RVA = "0x2226B20", Offset = "0x2225920", VA = "0x182226B20")]
public CancellationException()
{
}
}
// Token: 0x020002C0 RID: 704
[Token(Token = "0x20002C0")]
private struct SmtpResponse
{
// Token: 0x060012AF RID: 4783 RVA: 0x000088B0 File Offset: 0x00006AB0
[Token(Token = "0x60012AF")]
[Address(RVA = "0x223DD10", Offset = "0x223CB10", VA = "0x18223DD10")]
public static SmtpClient.SmtpResponse Parse(string line)
{
return default(SmtpClient.SmtpResponse);
}
// Token: 0x04000B06 RID: 2822
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000B06")]
public SmtpStatusCode StatusCode;
// Token: 0x04000B07 RID: 2823
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4000B07")]
public string Description;
}
}
}
+22
View File
@@ -0,0 +1,22 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>The delivery format to use for sending outgoing email using the Simple Mail Transport Protocol (SMTP).</summary>
// Token: 0x020002C1 RID: 705
[Token(Token = "0x20002C1")]
public enum SmtpDeliveryFormat
{
/// <summary>A delivery format using 7-bit ASCII.
/// The traditional delivery format used in the Simple Mail Transport Protocol (SMTP) for mail messages.</summary>
// Token: 0x04000B09 RID: 2825
[Token(Token = "0x4000B09")]
SevenBit,
/// <summary>A delivery format where non-ASCII characters in the envelope and header fields used in the Simple Mail Transport Protocol (SMTP) for mail messages are encoded with UTF-8 characters.
/// The extensions to support international email are defined in IETF RFC 6530, 6531, and 6532.</summary>
// Token: 0x04000B0A RID: 2826
[Token(Token = "0x4000B0A")]
International
}
}
+24
View File
@@ -0,0 +1,24 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Specifies how email messages are delivered.</summary>
// Token: 0x020002C2 RID: 706
[Token(Token = "0x20002C2")]
public enum SmtpDeliveryMethod
{
/// <summary>Email is sent through the network to an SMTP server.</summary>
// Token: 0x04000B0C RID: 2828
[Token(Token = "0x4000B0C")]
Network,
/// <summary>Email is copied to the directory specified by the <see cref="P:System.Net.Mail.SmtpClient.PickupDirectoryLocation" /> property for delivery by an external application.</summary>
// Token: 0x04000B0D RID: 2829
[Token(Token = "0x4000B0D")]
SpecifiedPickupDirectory,
/// <summary>Email is copied to the pickup directory used by a local Internet Information Services (IIS) for delivery.</summary>
// Token: 0x04000B0E RID: 2830
[Token(Token = "0x4000B0E")]
PickupDirectoryFromIis
}
}
+94
View File
@@ -0,0 +1,94 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Represents the exception that is thrown when the <see cref="T:System.Net.Mail.SmtpClient" /> is not able to complete a <see cref="Overload:System.Net.Mail.SmtpClient.Send" /> or <see cref="Overload:System.Net.Mail.SmtpClient.SendAsync" /> operation.</summary>
// Token: 0x020002C3 RID: 707
[Token(Token = "0x20002C3")]
[Serializable]
public class SmtpException : Exception, ISerializable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class.</summary>
// Token: 0x060012B0 RID: 4784 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B0")]
[Address(RVA = "0x223D550", Offset = "0x223C350", VA = "0x18223D550")]
public SmtpException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class with the specified status code.</summary>
/// <param name="statusCode">An <see cref="T:System.Net.Mail.SmtpStatusCode" /> value.</param>
// Token: 0x060012B1 RID: 4785 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B1")]
[Address(RVA = "0x223D3C0", Offset = "0x223C1C0", VA = "0x18223D3C0")]
public SmtpException(SmtpStatusCode statusCode)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class with the specified error message.</summary>
/// <param name="message">A <see cref="T:System.String" /> that describes the error that occurred.</param>
// Token: 0x060012B2 RID: 4786 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B2")]
[Address(RVA = "0x223D460", Offset = "0x223C260", VA = "0x18223D460")]
public SmtpException(string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</summary>
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.Net.Mail.SmtpException" />.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source and destination of the serialized stream associated with the new instance.</param>
// Token: 0x060012B3 RID: 4787 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B3")]
[Address(RVA = "0x223D5E0", Offset = "0x223C3E0", VA = "0x18223D5E0")]
protected SmtpException(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class with the specified status code and error message.</summary>
/// <param name="statusCode">An <see cref="T:System.Net.Mail.SmtpStatusCode" /> value.</param>
/// <param name="message">A <see cref="T:System.String" /> that describes the error that occurred.</param>
// Token: 0x060012B4 RID: 4788 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B4")]
[Address(RVA = "0x223D4D0", Offset = "0x223C2D0", VA = "0x18223D4D0")]
public SmtpException(SmtpStatusCode statusCode, string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpException" /> class with the specified error message and inner exception.</summary>
/// <param name="message">A <see cref="T:System.String" /> that describes the error that occurred.</param>
/// <param name="innerException">The exception that is the cause of the current exception.</param>
// Token: 0x060012B5 RID: 4789 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B5")]
[Address(RVA = "0x223D560", Offset = "0x223C360", VA = "0x18223D560")]
public SmtpException(string message, Exception innerException)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data needed to serialize the <see cref="T:System.Net.Mail.SmtpException" />.</summary>
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for this serialization.</param>
// Token: 0x060012B6 RID: 4790 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B6")]
[Address(RVA = "0x223D2B0", Offset = "0x223C0B0", VA = "0x18223D2B0", Slot = "10")]
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data needed to serialize the <see cref="T:System.Net.Mail.SmtpException" />.</summary>
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" />, which holds the serialized data for the <see cref="T:System.Net.Mail.SmtpException" />.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the destination of the serialized stream associated with the new <see cref="T:System.Net.Mail.SmtpException" />.</param>
// Token: 0x060012B7 RID: 4791 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B7")]
[Address(RVA = "0x403DA0", Offset = "0x402BA0", VA = "0x180403DA0", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x04000B0F RID: 2831
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x4000B0F")]
private SmtpStatusCode statusCode;
}
}
@@ -0,0 +1,75 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Represents the exception that is thrown when the <see cref="T:System.Net.Mail.SmtpClient" /> is not able to complete a <see cref="Overload:System.Net.Mail.SmtpClient.Send" /> or <see cref="Overload:System.Net.Mail.SmtpClient.SendAsync" /> operation to a particular recipient.</summary>
// Token: 0x020002C4 RID: 708
[Token(Token = "0x20002C4")]
[Serializable]
public class SmtpFailedRecipientException : SmtpException, ISerializable
{
/// <summary>Initializes an empty instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" /> class.</summary>
// Token: 0x060012B8 RID: 4792 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B8")]
[Address(RVA = "0x223D550", Offset = "0x223C350", VA = "0x18223D550")]
public SmtpFailedRecipientException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" /> class with the specified error message.</summary>
/// <param name="message">A <see cref="T:System.String" /> that contains the error message.</param>
// Token: 0x060012B9 RID: 4793 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012B9")]
[Address(RVA = "0x223D460", Offset = "0x223C260", VA = "0x18223D460")]
public SmtpFailedRecipientException(string message)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</summary>
/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</param>
/// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source and destination of the serialized stream that is associated with the new instance.</param>
// Token: 0x060012BA RID: 4794 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012BA")]
[Address(RVA = "0x223D8E0", Offset = "0x223C6E0", VA = "0x18223D8E0")]
protected SmtpFailedRecipientException(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" /> class with the specified status code and email address.</summary>
/// <param name="statusCode">An <see cref="T:System.Net.Mail.SmtpStatusCode" /> value.</param>
/// <param name="failedRecipient">A <see cref="T:System.String" /> that contains the email address.</param>
// Token: 0x060012BB RID: 4795 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012BB")]
[Address(RVA = "0x223D990", Offset = "0x223C790", VA = "0x18223D990")]
public SmtpFailedRecipientException(SmtpStatusCode statusCode, string failedRecipient)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data that is needed to serialize the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</summary>
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that specifies the destination for this serialization.</param>
// Token: 0x060012BC RID: 4796 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012BC")]
[Address(RVA = "0x223D7A0", Offset = "0x223C5A0", VA = "0x18223D7A0", Slot = "10")]
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data that is needed to serialize the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</summary>
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance, which holds the serialized data for the <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> instance that contains the destination of the serialized stream that is associated with the new <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</param>
// Token: 0x060012BD RID: 4797 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012BD")]
[Address(RVA = "0x403DA0", Offset = "0x402BA0", VA = "0x180403DA0", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
// Token: 0x04000B10 RID: 2832
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x4000B10")]
private string failedRecipient;
}
}
@@ -0,0 +1,66 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>The exception that is thrown when email is sent using an <see cref="T:System.Net.Mail.SmtpClient" /> and cannot be delivered to all recipients.</summary>
// Token: 0x020002C5 RID: 709
[Token(Token = "0x20002C5")]
[Serializable]
public class SmtpFailedRecipientsException : SmtpFailedRecipientException, ISerializable
{
/// <summary>Initializes an empty instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientsException" /> class.</summary>
// Token: 0x060012BE RID: 4798 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012BE")]
[Address(RVA = "0x223D550", Offset = "0x223C350", VA = "0x18223D550")]
public SmtpFailedRecipientsException()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientsException" /> class with the specified <see cref="T:System.String" /> and array of type <see cref="T:System.Net.Mail.SmtpFailedRecipientException" />.</summary>
/// <param name="message">The exception message.</param>
/// <param name="innerExceptions">The array of recipients with delivery errors.</param>
// Token: 0x060012BF RID: 4799 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012BF")]
[Address(RVA = "0x223DB40", Offset = "0x223C940", VA = "0x18223DB40")]
public SmtpFailedRecipientsException(string message, SmtpFailedRecipientException[] innerExceptions)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientsException" /> class from the specified instances of the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> classes.</summary>
/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance that contains the information required to serialize the new <see cref="T:System.Net.Mail.SmtpFailedRecipientsException" /> instance.</param>
/// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream that is associated with the new <see cref="T:System.Net.Mail.SmtpFailedRecipientsException" /> instance.</param>
// Token: 0x060012C0 RID: 4800 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012C0")]
[Address(RVA = "0x223DBC0", Offset = "0x223C9C0", VA = "0x18223DBC0")]
protected SmtpFailedRecipientsException(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> instance with the data that is needed to serialize the <see cref="T:System.Net.Mail.SmtpFailedRecipientsException" />.</summary>
/// <param name="serializationInfo">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to be used.</param>
/// <param name="streamingContext">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> to be used.</param>
// Token: 0x060012C1 RID: 4801 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012C1")]
[Address(RVA = "0x223D9C0", Offset = "0x223C7C0", VA = "0x18223D9C0", Slot = "10")]
public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpFailedRecipientsException" /> class from the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> instances.</summary>
/// <param name="serializationInfo">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that contains the information required to serialize the new <see cref="T:System.Net.Mail.SmtpFailedRecipientsException" />.</param>
/// <param name="streamingContext">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains the source of the serialized stream that is associated with the new <see cref="T:System.Net.Mail.SmtpFailedRecipientsException" />.</param>
// Token: 0x060012C2 RID: 4802 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60012C2")]
[Address(RVA = "0x403DA0", Offset = "0x402BA0", VA = "0x180403DA0", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x04000B11 RID: 2833
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x4000B11")]
private SmtpFailedRecipientException[] innerExceptions;
}
}
+112
View File
@@ -0,0 +1,112 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// <summary>Specifies the outcome of sending email by using the <see cref="T:System.Net.Mail.SmtpClient" /> class.</summary>
// Token: 0x020002C6 RID: 710
[Token(Token = "0x20002C6")]
public enum SmtpStatusCode
{
/// <summary>The commands were sent in the incorrect sequence.</summary>
// Token: 0x04000B13 RID: 2835
[Token(Token = "0x4000B13")]
BadCommandSequence = 503,
/// <summary>The specified user is not local, but the receiving SMTP service accepted the message and attempted to deliver it. This status code is defined in RFC 1123, which is available at https://www.ietf.org.</summary>
// Token: 0x04000B14 RID: 2836
[Token(Token = "0x4000B14")]
CannotVerifyUserWillAttemptDelivery = 252,
/// <summary>The client was not authenticated or is not allowed to send mail using the specified SMTP host.</summary>
// Token: 0x04000B15 RID: 2837
[Token(Token = "0x4000B15")]
ClientNotPermitted = 454,
/// <summary>The SMTP service does not implement the specified command.</summary>
// Token: 0x04000B16 RID: 2838
[Token(Token = "0x4000B16")]
CommandNotImplemented = 502,
/// <summary>The SMTP service does not implement the specified command parameter.</summary>
// Token: 0x04000B17 RID: 2839
[Token(Token = "0x4000B17")]
CommandParameterNotImplemented = 504,
/// <summary>The SMTP service does not recognize the specified command.</summary>
// Token: 0x04000B18 RID: 2840
[Token(Token = "0x4000B18")]
CommandUnrecognized = 500,
/// <summary>The message is too large to be stored in the destination mailbox.</summary>
// Token: 0x04000B19 RID: 2841
[Token(Token = "0x4000B19")]
ExceededStorageAllocation = 552,
/// <summary>The transaction could not occur. You receive this error when the specified SMTP host cannot be found.</summary>
// Token: 0x04000B1A RID: 2842
[Token(Token = "0x4000B1A")]
GeneralFailure = -1,
/// <summary>A Help message was returned by the service.</summary>
// Token: 0x04000B1B RID: 2843
[Token(Token = "0x4000B1B")]
HelpMessage = 214,
/// <summary>The SMTP service does not have sufficient storage to complete the request.</summary>
// Token: 0x04000B1C RID: 2844
[Token(Token = "0x4000B1C")]
InsufficientStorage = 452,
/// <summary>The SMTP service cannot complete the request. This error can occur if the client's IP address cannot be resolved (that is, a reverse lookup failed). You can also receive this error if the client domain has been identified as an open relay or source for unsolicited email (spam). For details, see RFC 2505, which is available at https://www.ietf.org.</summary>
// Token: 0x04000B1D RID: 2845
[Token(Token = "0x4000B1D")]
LocalErrorInProcessing = 451,
/// <summary>The destination mailbox is in use.</summary>
// Token: 0x04000B1E RID: 2846
[Token(Token = "0x4000B1E")]
MailboxBusy = 450,
/// <summary>The syntax used to specify the destination mailbox is incorrect.</summary>
// Token: 0x04000B1F RID: 2847
[Token(Token = "0x4000B1F")]
MailboxNameNotAllowed = 553,
/// <summary>The destination mailbox was not found or could not be accessed.</summary>
// Token: 0x04000B20 RID: 2848
[Token(Token = "0x4000B20")]
MailboxUnavailable = 550,
/// <summary>The email was successfully sent to the SMTP service.</summary>
// Token: 0x04000B21 RID: 2849
[Token(Token = "0x4000B21")]
Ok = 250,
/// <summary>The SMTP service is closing the transmission channel.</summary>
// Token: 0x04000B22 RID: 2850
[Token(Token = "0x4000B22")]
ServiceClosingTransmissionChannel = 221,
/// <summary>The SMTP service is not available; the server is closing the transmission channel.</summary>
// Token: 0x04000B23 RID: 2851
[Token(Token = "0x4000B23")]
ServiceNotAvailable = 421,
/// <summary>The SMTP service is ready.</summary>
// Token: 0x04000B24 RID: 2852
[Token(Token = "0x4000B24")]
ServiceReady = 220,
/// <summary>The SMTP service is ready to receive the email content.</summary>
// Token: 0x04000B25 RID: 2853
[Token(Token = "0x4000B25")]
StartMailInput = 354,
/// <summary>The syntax used to specify a command or parameter is incorrect.</summary>
// Token: 0x04000B26 RID: 2854
[Token(Token = "0x4000B26")]
SyntaxError = 501,
/// <summary>A system status or system Help reply.</summary>
// Token: 0x04000B27 RID: 2855
[Token(Token = "0x4000B27")]
SystemStatus = 211,
/// <summary>The transaction failed.</summary>
// Token: 0x04000B28 RID: 2856
[Token(Token = "0x4000B28")]
TransactionFailed = 554,
/// <summary>The user mailbox is not located on the receiving server. You should resend using the supplied address information.</summary>
// Token: 0x04000B29 RID: 2857
[Token(Token = "0x4000B29")]
UserNotLocalTryAlternatePath = 551,
/// <summary>The user mailbox is not located on the receiving server; the server forwards the email.</summary>
// Token: 0x04000B2A RID: 2858
[Token(Token = "0x4000B2A")]
UserNotLocalWillForward = 251,
/// <summary>The SMTP server is configured to accept only TLS connections, and the SMTP client is attempting to connect by using a non-TLS connection. The solution is for the user to set EnableSsl=true on the SMTP Client.</summary>
// Token: 0x04000B2B RID: 2859
[Token(Token = "0x4000B2B")]
MustIssueStartTlsFirst = 530
}
}