DSACryptoServiceProvider.ExportCspBlob(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 a blob containing the key information associated with a DSACryptoServiceProvider object.
public:
virtual cli::array <System::Byte> ^ ExportCspBlob(bool includePrivateParameters);
public byte[] ExportCspBlob (bool includePrivateParameters);
[System.Runtime.InteropServices.ComVisible(false)]
public byte[] ExportCspBlob (bool includePrivateParameters);
abstract member ExportCspBlob : bool -> byte[]
override this.ExportCspBlob : bool -> byte[]
[<System.Runtime.InteropServices.ComVisible(false)>]
abstract member ExportCspBlob : bool -> byte[]
override this.ExportCspBlob : bool -> byte[]
Public Function ExportCspBlob (includePrivateParameters As Boolean) As Byte()
Parameters
- includePrivateParameters
- Boolean
true
to include the private key; otherwise, false
.
Returns
Byte[]
A byte array containing the key information associated with a DSACryptoServiceProvider object.
Implements
- Attributes
Remarks
The ExportCspBlob method returns a blob containing key information that is compatible with the unmanaged Microsoft Cryptographic API (CAPI).
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.