RSACng::ExportParameters Method (Boolean)

.NET Framework (current version)
 

Exports the key used by the RSA object into a RSAParameters object.

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

public:
virtual RSAParameters ExportParameters(
	bool includePrivateParameters
) override

Parameters

includePrivateParameters
Type: System::Boolean

true to include private parameters; otherwise, false.

Return Value

Type: System.Security.Cryptography::RSAParameters

The key used by the RSA object.

.NET Framework
Available since 4.6
Return to top
Show: