The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DSACryptoServiceProvider Constructor (Int32, CspParameters^)
.NET Framework (current version)
Initializes a new instance of the DSACryptoServiceProvider class with the specified key size and parameters for the cryptographic service provider (CSP).
Assembly: mscorlib (in mscorlib.dll)
Parameters
- dwKeySize
-
Type:
System::Int32
The size of the key for the cryptographic algorithm in bits.
- parameters
-
Type:
System.Security.Cryptography::CspParameters^
The parameters for the CSP.
| Exception | Condition |
|---|---|
| CryptographicException | The CSP cannot be acquired. -or- The key cannot be created. |
| ArgumentOutOfRangeException | dwKeySize is out of range. |
SecurityPermission
for the ability to call unmanaged code. Associated enumeration: SecurityPermissionFlag::UnmanagedCode
.NET Framework
Available since 1.1
Available since 1.1
Show: