System.Security.SecurityManager.LoadPolicyLevelFromFile Method

Loads a System.Security.Policy.PolicyLevel from the specified file.

Syntax

[System.Obsolete]
public static System.Security.Policy.PolicyLevel LoadPolicyLevelFromFile (string path, PolicyLevelType type)

Parameters

path
The physical file path to a file containing the security policy information.
type
One of the enumeration values that specifies the type of the policy level to be loaded.

Returns

The loaded policy level.

Remarks

Documentation for this section has not yet been entered.

Requirements

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