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.
ECDsaCng Constructor ()
.NET Framework (current version)
Initializes a new instance of the ECDsaCng class with a random key pair.
Assembly: System.Core (in System.Core.dll)
| Exception | Condition |
|---|---|
| PlatformNotSupportedException | Cryptography Next Generation (CNG) classes are not supported on this system. |
The random key pair has a public key length of 521 bits.
.NET Framework
Available since 3.5
Available since 3.5
Show: