System.Net.Mail.SmtpPermission.IsUnrestricted Method

Returns a value indicating whether the current permission is unrestricted.

Syntax

public bool IsUnrestricted ()

Returns

true if the current permission is unrestricted; otherwise, false.

Remarks

An unrestricted permission has full access to all resources controlled by the permission instance.

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0