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 ()

 
System_CAPS_noteNote

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 WebPermission.

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

public bool IsUnrestricted()

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:
© 2018 Microsoft