IsolatedStorage.GetPermission Method (PermissionSet)


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

Namespace:   System.IO.IsolatedStorage
Assembly:  mscorlib (in mscorlib.dll)

protected abstract IsolatedStoragePermission GetPermission(
	PermissionSet ps


Type: System.Security.PermissionSet

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

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.

.NET Framework
Available since 1.1
Return to top