Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CspParameters.ParentWindowHandle Property

Definition

Namespace:
System.Security.Cryptography
Assemblies:
netstandard.dll, System.Security.Cryptography.dll
Assemblies:
netstandard.dll, System.Security.Cryptography.Csp.dll
Assemblies:
netstandard.dll, System.Security.Cryptography.dll, System.Security.Cryptography.Csp.dll
Assembly:
System.Security.Cryptography.Csp.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll
Source:
CspParameters.cs
Source:
CspParameters.cs
Source:
CspParameters.cs
Source:
CspParameters.cs
Source:
CspParameters.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?