NuGet package installation
NuGet is a Visual Studio extension that makes it easy to install and update third-party libraries and tools in Visual Studio.
To install AzManPermissions, open Package Manager Console and type:
Install-Package AzManPermissions
This will download the package and add a reference to AzManPermissions.dll in your project.

Important
Before you specify a demand for AzMan operation permission, you must set the current application domain's principal policy to the enumeration value WindowsPrincipal. By default, the principal policy is set to UnauthenticatedPrincipal. If you do not set the principal policy to WindowsPrincipal, a demand for AzMan operation permission will fail. You should execute the following code before you demand the principal permission:
AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal).

Last edited Aug 14, 2012 at 7:08 PM by pjenei, version 2

Comments

No comments yet.