CspParameters.ParentWindowHandle 屬性

定義

取得或設定智慧卡密碼對話方塊之 Unmanaged 父視窗的控制代碼。

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

智慧卡密碼對話方塊父視窗的控制代碼。

備註

ParentWindowHandle使用 屬性可指定智慧卡密碼對話方塊之 Unmanaged 父視窗的控制碼。 當您使用這個屬性指定控制碼時,將會向使用者顯示智慧卡密碼對話方塊。

您可以使用 屬性明確指定密碼,以避免顯示智慧卡密碼 KeyPassword 對話方塊。

適用於