ParentWindowHandle Property
Collapse the table of content
Expand the table of content

CngKeyCreationParameters.ParentWindowHandle Property

 

Gets or sets the window handle that should be used as the parent window for dialog boxes that are created by Cryptography Next Generation (CNG) classes.

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

public IntPtr ParentWindowHandle {
	get;
	[SecurityPermissionAttribute(SecurityAction.Demand, UnmanagedCode = true)]
	set;
}

Property Value

Type: System.IntPtr

The HWND of the parent window that is used for CNG dialog boxes.

This property should be set if key creation causes CNG to show a dialog box.

SecurityPermission

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft