CngKeyCreationParameters.ParentWindowHandle 屬性

定義

取得或設定視窗控制代碼,該代碼應用來做為 Cryptography Next Generation (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

父視窗的 HWND,用於 CNG 對話方塊。

備註

如果建立金鑰會導致 CNG 顯示對話方塊,則應該設定這個屬性。

適用於