IsUnrestricted Method

SocketPermission.IsUnrestricted Method ()

 

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 SocketPermission instance is created with the Unrestricted value from PermissionState; otherwise, false.

The following example checks the IsUnrestricted property to determine if the specified SocketPermission has any restrictions.

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft