X509Certificate2ExtensionsWinGetCertificateContextProperty Method
Gets a specified certificate context property.
Namespace: SysadminsLV.PKI.Cryptography.X509CertificatesAssembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.3.0+a868daf3196ed1ac6592e4f3e5cd2b429fc81eaa
public static X509CertificateContextProperty GetCertificateContextProperty(
this X509Certificate2 cert,
X509CertificatePropertyType propID
)
<ExtensionAttribute>
Public Shared Function GetCertificateContextProperty (
cert As X509Certificate2,
propID As X509CertificatePropertyType
) As X509CertificateContextProperty
public:
[ExtensionAttribute]
static X509CertificateContextProperty^ GetCertificateContextProperty(
X509Certificate2^ cert,
X509CertificatePropertyType propID
)
[<ExtensionAttribute>]
static member GetCertificateContextProperty :
cert : X509Certificate2 *
propID : X509CertificatePropertyType -> X509CertificateContextProperty
- cert X509Certificate2
- Certificate.
- propID X509CertificatePropertyType
- Property ID to retrieve.
X509CertificateContextPropertySpecified certificate context property.In Visual Basic and C#, you can call this method as an instance method on any object of type
X509Certificate2. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).