CspParameters.ParentWindowHandle Property

Note: This property is new in the .NET Framework version 2.0.

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

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

public IntPtr ParentWindowHandle { get; set; }
/** @property */
public IntPtr get_ParentWindowHandle ()

/** @property */
public void set_ParentWindowHandle (IntPtr value)

public function get ParentWindowHandle () : IntPtr

public function set ParentWindowHandle (value : IntPtr)

Property Value

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

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

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

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: