Click or drag to resize

SmtpConnectionElement Class

Represents the Configuration Element for SMTP Connections, to be used on App.Config / Web.Config Files
Inheritance Hierarchy
SystemObject
  System.ConfigurationConfigurationElement
    SMTPRouter.Windows.ConfigurationSmtpConnectionElement

Namespace:  SMTPRouter.Windows.Configuration
Assembly:  SMTPRouter.Windows (in SMTPRouter.Windows.dll) Version: 1.0.0.3 (1.0.0.3)
Syntax
public sealed class SmtpConnectionElement : ConfigurationElement

The SmtpConnectionElement type exposes the following members.

Constructors
  NameDescription
Public methodSmtpConnectionElement
Initializes a new instance of the SmtpConnectionElement class
Top
Properties
  NameDescription
Public propertyCurrentConfiguration
Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to.
(Inherited from ConfigurationElement.)
Public propertyDescription
A Description for the SMTP Configuration
Public propertyElementInformation
Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Public propertyHost
The SMTP Host
Public propertyKey
A unique name to identify the SMTP Configuration
Public propertyLockAllAttributesExcept
Gets the collection of locked attributes.
(Inherited from ConfigurationElement.)
Public propertyLockAllElementsExcept
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockAttributes
Gets the collection of locked attributes
(Inherited from ConfigurationElement.)
Public propertyLockElements
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockItem
Gets or sets a value indicating whether the element is locked.
(Inherited from ConfigurationElement.)
Public propertyPassword
The Password to connect to the SMTP
Public propertyPort
The Port Number
Public propertyRequiresAuthentication
A flag to define whether the SMTP Connection requires Authentication
Public propertySecureSocketOption
The SecureSocketOption (0 = None, 1 = Auto, 2 = SslOnConnect, 3 = StartTls, 4 = StartTlsWhenAvailable
Public propertyUser
The User Name to connect to the SMTP
Public propertyUseSSL
Defines whether SSL is necessary to perform the connection.
Top
Methods
  NameDescription
Public methodEquals
Compares the current ConfigurationElement instance to the specified object.
(Inherited from ConfigurationElement.)
Public methodGetHashCode
Gets a unique value representing the current ConfigurationElement instance.
(Inherited from ConfigurationElement.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsReadOnly
Gets a value indicating whether the ConfigurationElement object is read-only.
(Inherited from ConfigurationElement.)
Public methodToString
Returns a string with the information regarding the SMTP Connection
(Overrides ObjectToString.)
Top
See Also