ECDiffieHellmanCng.ExportParameters(Boolean) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exports the key used by the ECCurve object into an ECParameters object.
public:
override System::Security::Cryptography::ECParameters ExportParameters(bool includePrivateParameters);
public override System.Security.Cryptography.ECParameters ExportParameters(bool includePrivateParameters);
override this.ExportParameters : bool -> System.Security.Cryptography.ECParameters
Public Overrides Function ExportParameters (includePrivateParameters As Boolean) As ECParameters
- includePrivateParameters
- Boolean
true
to include private parameters; otherwise, false
.
The key and named curve parameters used by the ECCurve object.
The method cannot obtain curve values.
If the key was created as a named curve, the ECParameters.Curve field contains named curve parameters; otherwise, it contains explicit parameters.
Product | Versions |
---|---|
.NET | 6, 7, 8, 9, 10 |
.NET Framework | 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: