ECDiffieHellmanCng.ExportParameters(Boolean) Method
Definition
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
Parameters
- includePrivateParameters
- Boolean
true
to include private parameters; otherwise, false
.
Returns
The key and named curve parameters used by the ECCurve object.
Exceptions
The method cannot obtain curve values.
Remarks
If the key was created as a named curve, the ECParameters.Curve field contains named curve parameters; otherwise, it contains explicit parameters.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.