DSACryptoServiceProvider.ExportParameters(Boolean) 方法

定义

导出 DSAParametersExports the DSAParameters.

public:
 override System::Security::Cryptography::DSAParameters ExportParameters(bool includePrivateParameters);
public override System.Security.Cryptography.DSAParameters ExportParameters (bool includePrivateParameters);
override this.ExportParameters : bool -> System.Security.Cryptography.DSAParameters
Public Overrides Function ExportParameters (includePrivateParameters As Boolean) As DSAParameters

参数

includePrivateParameters
Boolean

若要包含专用参数,则为 true;否则为 falsetrue to include private parameters; otherwise, false.

返回

DSA 的参数。The parameters for DSA.

异常

不能导出该密钥。The key cannot be exported.

安全性

KeyContainerPermissionAccessEntryCollection
用于导出密钥的权限。for permission to export a key. 安全操作: DemandSecurity action: Demand. 关联的枚举:ExportAssociated enumeration: Export

适用于

另请参阅