CngUIPolicy Constructor (CngUIProtectionLevels)


Initializes a new instance of the CngUIPolicy class by using the specified protection level.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public CngUIPolicy(
	CngUIProtectionLevels protectionLevel


Type: System.Security.Cryptography.CngUIProtectionLevels

A bitwise combination of the enumeration values that specify the protection level.

This constructor sets the protection level for the key in UI prompting scenarios.

.NET Framework
Available since 3.5
Return to top