Windows apps
Collapse the table of content
Expand the table of content
Information
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 ()

 

Initializes a new instance of the ECDsaCng class with a random key pair.

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

public:
ECDsaCng()

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
Return to top
Show:
© 2017 Microsoft