DnsPermission.IsUnrestricted Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Checks the overall permission state of the object.

Namespace:   System.Net
Assembly:  System (in System.dll)

abstract IsUnrestricted : unit -> bool
override IsUnrestricted : unit -> bool

Return Value

Type: System.Boolean

true if the DnsPermission instance was created with PermissionState.Unrestricted; otherwise, false.

The following example uses the IsUnrestricted method to check the overall permission state of the object.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top