Export (0) Print
Expand All

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; 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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft