Edit

Share via


CngKeyCreationParameters.ParentWindowHandle Property

Definition

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.

public:
 property IntPtr ParentWindowHandle { IntPtr get(); void set(IntPtr value); };
public IntPtr ParentWindowHandle { get; set; }
member this.ParentWindowHandle : nativeint with get, set
Public Property ParentWindowHandle As IntPtr

Property Value

IntPtr

nativeint

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

Remarks

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

Applies to