Visual Basic (Usage) | ![]() |
---|---|
Dim encodedData() As Byte Dim useCache As Boolean Dim value As X509Certificate2 value = CertificateFactory.Create(encodedData, useCache) |
C# | |
---|---|
public static X509Certificate2 Create( byte[] encodedData, bool useCache ) |
Parameters
- encodedData
- The encoded data.
- useCache
- if set to
true
the copy of the certificate in the cache is used.
Return Value
The certificate.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x