System.Net.Mail.SmtpPermission: Method Members

The methods of System.Net.Mail.SmtpPermission are listed below. For a list of all members, see the SmtpPermission Members list.

See Also: Inherited members from System.Security.CodeAccessPermission

Public Methods

AddPermission(SmtpAccess)

Adds the specified access level value to the permission.

override
Copy() : System.Security.IPermission

Creates and returns an identical copy of the current permission.

override
FromXml(System.Security.SecurityElement)

Sets the state of the permission using the specified XML encoding.

override
Intersect(System.Security.IPermission) : System.Security.IPermission

Creates and returns a permission that is the intersection of the current permission and the specified permission.

override
IsSubsetOf(System.Security.IPermission) : bool

Returns a value indicating whether the current permission is a subset of the specified permission.

IsUnrestricted() : bool

Returns a value indicating whether the current permission is unrestricted.

override
ToXml() : System.Security.SecurityElement

Creates an XML encoding of the state of the permission.

override
Union(System.Security.IPermission) : System.Security.IPermission

Creates a permission that is the union of the current permission and the specified permission.