| Visual Basic (Usage) |  Copy Code | 
|---|---|
| Dim certificates As IList(Of X509Certificate2) Dim value() As Byte value = CertificateIdentifier.CreateBlob(certificates) | |
| C# | |
|---|---|
| public static byte[] CreateBlob( IList<X509Certificate2> certificates ) | |
Parameters
- certificates
- The certificates list to be returned as raw data.
Return Value
A DER blob containing zero or more certificates.| Exception | Description | 
|---|---|
| System.Security.Cryptography.CryptographicException | If the certificates is null or empty. | 
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 
     
     
     
     
    
    