using System;
using System.IO;
using System.Net.Mime;
using System.Text;
using Cpp2IlInjected;
namespace System.Net.Mail
{
/// Represents the format to view an email message.
// Token: 0x020002AE RID: 686
[Token(Token = "0x20002AE")]
public class AlternateView : AttachmentBase
{
/// Initializes a new instance of with the specified and .
/// A stream that contains the content for this attachment.
/// The type of the content.
///
/// is .
///
/// is not a valid value.
// Token: 0x06001212 RID: 4626 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001212")]
[Address(RVA = "0x8A0160", Offset = "0x89F160", VA = "0x1808A0160")]
public AlternateView(Stream contentStream, ContentType contentType)
{
}
/// Gets the set of embedded resources referred to by this attachment.
/// A object that stores the collection of linked resources to be sent as part of an email message.
// Token: 0x170003AB RID: 939
// (get) Token: 0x06001213 RID: 4627 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003AB")]
public LinkedResourceCollection LinkedResources
{
[Token(Token = "0x6001213")]
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
get
{
return null;
}
}
/// Creates an of an email message using the content specified in a , the specified text encoding, and MIME media type of the content.
/// A that contains the content for this attachment.
/// An . This value can be
/// The MIME media type of the content.
/// An object that represents an alternate view of an email message.
///
/// is null.
// Token: 0x06001214 RID: 4628 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001214")]
[Address(RVA = "0x89FCD0", Offset = "0x89ECD0", VA = "0x18089FCD0")]
public static AlternateView CreateAlternateViewFromString(string content, Encoding contentEncoding, string mediaType)
{
return null;
}
/// 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: 0x06001215 RID: 4629 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001215")]
[Address(RVA = "0x89FFA0", Offset = "0x89EFA0", VA = "0x18089FFA0", Slot = "5")]
protected override void Dispose(bool disposing)
{
}
// Token: 0x04000AC1 RID: 2753
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000AC1")]
private LinkedResourceCollection linkedResources;
}
}