Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CngKeyCreationParameters::UIPolicy Property

 

Gets or sets information about the user interface to display when a key is created or accessed.

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

public:
property CngUIPolicy^ UIPolicy {
	CngUIPolicy^ get();
	[HostProtectionAttribute(SecurityAction::LinkDemand, UI = true)]
	[UIPermissionAttribute(SecurityAction::Demand, Window = UIPermissionWindow::SafeSubWindows)]
	void set(CngUIPolicy^ value);
}

Property Value

Type: System.Security.Cryptography::CngUIPolicy^

An object that contains details about the user interface shown by Cryptography Next Generation (CNG) classes when a key is created or accessed. A null value indicates that the key storage provider's default user interface policy is set.

UIPermission

for operating with unmanaged code. Demand value: LinkDemand. Associated enumeration: SecurityPermissionFlag::UnmanagedCode

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft