Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebPermission::IsUnrestricted Method ()

 

Checks the overall permission state of the WebPermission.

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

public:
virtual bool IsUnrestricted() sealed

Return Value

Type: System::Boolean

true if the WebPermission was created with the UnrestrictedPermissionState; otherwise, false.

If WebPermission is Unrestricted, then the target class can use all URIs. Otherwise, specific permission must be given for any URI you want to use with the target class.

System_CAPS_noteNote

Use AddPermission to add a URI and specify its permissions.

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