CngKeyCreationParameters.ParentWindowHandle 属性

定义

获取或设置窗口句柄,该句柄应用作由下一代加密技术 (CNG) 类创建的对话框的父窗口的句柄。

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

属性值

IntPtr

nativeint

用作 CNG 对话框的父窗口的 HWND。

注解

如果创建密钥导致 CNG 显示对话框,则应设置此属性。

适用于