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.

ECDiffieHellman::ExportParameters Method (Boolean)

 

When overridden in a derived class, exports either the public or the public and private key information from a working ECDiffieHellman key to an ECParameters structure so that it can be passed to the ECDiffieHellman::ImportParameters method.

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

public:
virtual ECParameters ExportParameters(
	bool includePrivateParameters
)

Parameters

includePrivateParameters
Type: System::Boolean

true to include private parameters; otehrwise, false to include public parameters only.

Return Value

Type: System.Security.Cryptography::ECParameters

An object that represents the point on the curve for this key. It can be passed to the ECDiffieHellman::ImportParameters method.

Exception Condition
NotImplementedException

A derived class must override this method.

If the curve has a name, the Curve property contains named curve parameters; otherwise, it will contain explicit parameters.

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