using System; using System.IO; using System.Net.Mime; using Cpp2IlInjected; namespace System.Net.Mail { /// Base class that represents an email attachment. Classes , , and derive from this class. // Token: 0x020002B1 RID: 689 [Token(Token = "0x20002B1")] public abstract class AttachmentBase : IDisposable { /// Instantiates an with the specified and . /// A stream containing the content for this attachment. /// The type of the content. /// /// is . /// /// is not a valid value. // Token: 0x06001222 RID: 4642 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001222")] [Address(RVA = "0x8A0320", Offset = "0x89F320", VA = "0x1808A0320")] protected AttachmentBase(Stream contentStream, ContentType contentType) { } /// Instantiates an with the specified and media type. /// A stream containing the content for this attachment. /// The MIME media type of the content. /// /// is . /// /// is not a valid value. // Token: 0x06001223 RID: 4643 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001223")] [Address(RVA = "0x8A0430", Offset = "0x89F430", VA = "0x1808A0430")] protected AttachmentBase(Stream contentStream, string mediaType) { } /// Gets or sets the MIME content ID for this attachment. /// A holding the content ID. /// Attempted to set to . // Token: 0x170003AF RID: 943 // (get) Token: 0x06001224 RID: 4644 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003AF")] public string ContentId { [Token(Token = "0x6001224")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return null; } } /// Gets the content stream of this attachment. /// The content stream of this attachment. // Token: 0x170003B0 RID: 944 // (get) Token: 0x06001225 RID: 4645 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003B0")] public Stream ContentStream { [Token(Token = "0x6001225")] [Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")] get { return null; } } /// Gets the content type of this attachment. /// The content type for this attachment. // Token: 0x170003B1 RID: 945 // (get) Token: 0x06001226 RID: 4646 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003B1")] public ContentType ContentType { [Token(Token = "0x6001226")] [Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")] get { return null; } } /// Gets or sets the encoding of this attachment. /// The encoding for this attachment. // Token: 0x170003B2 RID: 946 // (get) Token: 0x06001227 RID: 4647 RVA: 0x00008790 File Offset: 0x00006990 // (set) Token: 0x06001228 RID: 4648 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x170003B2")] public TransferEncoding TransferEncoding { [Token(Token = "0x6001227")] [Address(RVA = "0x471180", Offset = "0x470180", VA = "0x180471180")] get { return TransferEncoding.QuotedPrintable; } [Token(Token = "0x6001228")] [Address(RVA = "0x5AB430", Offset = "0x5AA430", VA = "0x1805AB430")] set { } } /// Releases the resources used by the . // Token: 0x06001229 RID: 4649 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6001229")] [Address(RVA = "0x8A0300", Offset = "0x89F300", VA = "0x1808A0300", Slot = "4")] public void Dispose() { } /// Releases the unmanaged resources used by the and optionally releases the managed resources. /// /// to release both managed and unmanaged resources; to release only unmanaged resources. // Token: 0x0600122A RID: 4650 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600122A")] [Address(RVA = "0x8A02C0", Offset = "0x89F2C0", VA = "0x1808A02C0", Slot = "5")] protected virtual void Dispose(bool disposing) { } // Token: 0x04000AC4 RID: 2756 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000AC4")] private string id; // Token: 0x04000AC5 RID: 2757 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000AC5")] private ContentType contentType; // Token: 0x04000AC6 RID: 2758 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000AC6")] private Stream contentStream; // Token: 0x04000AC7 RID: 2759 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000AC7")] private TransferEncoding transferEncoding; } }