Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft