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::GenerateKey Method (ECCurve)

 

Generates a key to use for the ECDsaCng algorithm.

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

public:
virtual void GenerateKey(
	ECCurve curve
) override

Parameters

curve
Type: System.Security.Cryptography::ECCurve

The curve to use to generate the key.

Exception Condition
CryptographicException

curve does not validate.

.NET Framework
Available since 4.7
Return to top
Show:
© 2017 Microsoft