Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Security.​Cryptography.​CspParameters

Assembly: System.Security.Cryptography

Inheritance: object → CspParameters

Contains parameters that are passed to the cryptographic service provider (CSP) that performs cryptographic computations. This class cannot be inherited.

Fields and Constants

public string
KeyContainerName
Represents the key container name for <see cref="T:System.Security.Cryptography.CspParameters" /> .
public int
KeyNumber
Specifies whether an asymmetric key is created as a signature key or an exchange key.
public string
ProviderName
Represents the provider name for <see cref="T:System.Security.Cryptography.CspParameters" /> .
public int
ProviderType
Represents the provider type code for <see cref="T:System.Security.Cryptography.CspParameters" /> .

Properties

Flags
Represents the flags for <see cref="T:System.Security.Cryptography.CspParameters" /> that modify the behavior of the cryptographic service provider (CSP).
public SecureString
KeyPassword
Gets or sets a password associated with a smart card key.
public nint
ParentWindowHandle
Gets or sets a handle to the unmanaged parent window for a smart card password dialog box.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object