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.

ECDsa::GenerateKey Method (ECCurve)

 

When overridden in a derived class, generates a new public/private key pair for the specified curve.

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

public:
virtual void GenerateKey(
	ECCurve curve
)

Parameters

curve
Type: System.Security.Cryptography::ECCurve

The curve to use.

Exception Condition
NotSupportedException

A derived class must override this method.

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