WebBrowserPermission.IsUnrestricted Method ()

 

Returns a value indicating whether the current permission is unrestricted.

Namespace:   System.Security.Permissions
Assembly:  WindowsBase (in WindowsBase.dll)

public bool IsUnrestricted()

Return Value

Type: System.Boolean

true if the Level property is set to Unrestricted; otherwise, false.

An unrestricted permission represents access to any and all resources protected by the permission.

Members of this class are either not typically used in XAML, or cannot be used in XAML.

The following code example shows how to use the IsUnrestricted method.

bool isUnrestricted = webBrowserPermission.IsUnrestricted();

.NET Framework
Available since 3.0
Return to top
Show: