130 lines
4.7 KiB
C#
130 lines
4.7 KiB
C#
using System;
|
|
using System.Configuration;
|
|
using System.Net.Mail;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net.Configuration
|
|
{
|
|
/// <summary>Represents the SMTP section in the <see langword="System.Net" /> configuration file.</summary>
|
|
// Token: 0x0200039D RID: 925
|
|
[Token(Token = "0x200039D")]
|
|
public sealed class SmtpSection : ConfigurationSection
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Configuration.SmtpSection" /> class.</summary>
|
|
// Token: 0x06001863 RID: 6243 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001863")]
|
|
[Address(RVA = "0xDD81E0", Offset = "0xDD71E0", VA = "0x180DD81E0")]
|
|
public SmtpSection()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the delivery format to use for sending outgoing email using the Simple Mail Transport Protocol (SMTP).</summary>
|
|
/// <returns>Returns <see cref="T:System.Net.Mail.SmtpDeliveryFormat" />.
|
|
/// The delivery format to use for sending outgoing email using SMTP.</returns>
|
|
// Token: 0x17000551 RID: 1361
|
|
// (get) Token: 0x06001864 RID: 6244 RVA: 0x0000A968 File Offset: 0x00008B68
|
|
// (set) Token: 0x06001865 RID: 6245 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000551")]
|
|
public SmtpDeliveryFormat DeliveryFormat
|
|
{
|
|
[Token(Token = "0x6001864")]
|
|
[Address(RVA = "0xDD8210", Offset = "0xDD7210", VA = "0x180DD8210")]
|
|
get
|
|
{
|
|
return SmtpDeliveryFormat.SevenBit;
|
|
}
|
|
[Token(Token = "0x6001865")]
|
|
[Address(RVA = "0xDD8330", Offset = "0xDD7330", VA = "0x180DD8330")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the Simple Mail Transport Protocol (SMTP) delivery method. The default delivery method is <see cref="F:System.Net.Mail.SmtpDeliveryMethod.Network" />.</summary>
|
|
/// <returns>A string that represents the SMTP delivery method.</returns>
|
|
// Token: 0x17000552 RID: 1362
|
|
// (get) Token: 0x06001866 RID: 6246 RVA: 0x0000A980 File Offset: 0x00008B80
|
|
// (set) Token: 0x06001867 RID: 6247 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000552")]
|
|
public SmtpDeliveryMethod DeliveryMethod
|
|
{
|
|
[Token(Token = "0x6001866")]
|
|
[Address(RVA = "0xDD8240", Offset = "0xDD7240", VA = "0x180DD8240")]
|
|
get
|
|
{
|
|
return SmtpDeliveryMethod.Network;
|
|
}
|
|
[Token(Token = "0x6001867")]
|
|
[Address(RVA = "0xDD8360", Offset = "0xDD7360", VA = "0x180DD8360")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the default value that indicates who the email message is from.</summary>
|
|
/// <returns>A string that represents the default value indicating who a mail message is from.</returns>
|
|
// Token: 0x17000553 RID: 1363
|
|
// (get) Token: 0x06001868 RID: 6248 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06001869 RID: 6249 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000553")]
|
|
public string From
|
|
{
|
|
[Token(Token = "0x6001868")]
|
|
[Address(RVA = "0xDD8270", Offset = "0xDD7270", VA = "0x180DD8270")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001869")]
|
|
[Address(RVA = "0xDD8390", Offset = "0xDD7390", VA = "0x180DD8390")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the configuration element that controls the network settings used by the Simple Mail Transport Protocol (SMTP). file.<see cref="T:System.Net.Configuration.SmtpNetworkElement" />.</summary>
|
|
/// <returns>A <see cref="T:System.Net.Configuration.SmtpNetworkElement" /> object.
|
|
/// The configuration element that controls the network settings used by SMTP.</returns>
|
|
// Token: 0x17000554 RID: 1364
|
|
// (get) Token: 0x0600186A RID: 6250 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000554")]
|
|
public SmtpNetworkElement Network
|
|
{
|
|
[Token(Token = "0x600186A")]
|
|
[Address(RVA = "0xDD82A0", Offset = "0xDD72A0", VA = "0x180DD82A0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000555 RID: 1365
|
|
// (get) Token: 0x0600186B RID: 6251 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000555")]
|
|
protected override ConfigurationPropertyCollection Properties
|
|
{
|
|
[Token(Token = "0x600186B")]
|
|
[Address(RVA = "0xDD82D0", Offset = "0xDD72D0", VA = "0x180DD82D0", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the pickup directory that will be used by the SMPT client.</summary>
|
|
/// <returns>A <see cref="T:System.Net.Configuration.SmtpSpecifiedPickupDirectoryElement" /> object that specifies the pickup directory folder.</returns>
|
|
// Token: 0x17000556 RID: 1366
|
|
// (get) Token: 0x0600186C RID: 6252 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000556")]
|
|
public SmtpSpecifiedPickupDirectoryElement SpecifiedPickupDirectory
|
|
{
|
|
[Token(Token = "0x600186C")]
|
|
[Address(RVA = "0xDD8300", Offset = "0xDD7300", VA = "0x180DD8300")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|