SmtpPermission Constructor (SmtpAccess)
.NET Framework (current version)
Initializes a new instance of the SmtpPermission class using the specified access level.
Assembly: System (in System.dll)
Parameters
- access
-
Type:
System.Net.Mail::SmtpAccess
One of the SmtpAccess values.
The permission created by this constructor can be used to help secure access to SMTP servers.
.NET Framework
Available since 2.0
Available since 2.0
Show: