System.IO.IsolatedStorage.IsolatedStorage.GetPermission Method

When implemented by a derived class, returns a permission that represents access to isolated storage from within a permission set.

Syntax

protected abstract System.Security.Permissions.IsolatedStoragePermission GetPermission (System.Security.PermissionSet ps)

Parameters

ps
The System.Security.PermissionSet object that contains the set of permissions granted to code attempting to use isolated storage.

Returns

An System.Security.Permissions.IsolatedStoragePermission object.

Remarks

You call this method on derived classes to determine what permission type governs their use, and to return the permission of the type that has been granted. Use this information to determine the allowable quota and any other derived class-specific isolated storage settings.

Requirements

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0