AmqpUtilitiesGetCertificate Method |
Looks in the both the machine and user level certificate stores for a certificate
whose subject name OR thumbprint matches the value specified by the certFindName parameter.
Will throw an ArumentException if not found.
Namespace: CFX.TransportAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic static X509Certificate2 GetCertificate(
string certFindValue
)
Public Shared Function GetCertificate (
certFindValue As String
) As X509Certificate2
Parameters
- certFindValue String
- The certificate subject name OR thumbprint to search for
Return Value
X509Certificate2The resultant certificate
See Also