CspParameters.ParentWindowHandle Property

 

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

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public IntPtr ParentWindowHandle { get; set; }

Property Value

Type: System.IntPtr

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

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.

.NET Framework
Available since 2.0
Return to top
Show: