Bewerken

Share via


CspParameters.ParentWindowHandle Property

Definition

Gets or sets a handle to the unmanaged parent window for a smart card password dialog box.

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

A handle to the parent window for a smart card password dialog box.

Remarks

Use the ParentWindowHandle property to specify a handle to the unmanaged parent window for a smart card password dialog box. When you specify a handle using this property, a smart card password dialog box will be presented to the user.

You can avoid presenting a smart card password dialog box by explicitly specifying a password by using the KeyPassword property.

Applies to