Opc.Ua.Core
GetKeyUsage Method



Opc.Ua Namespace > X509Utils Class : GetKeyUsage Method
Return the key usage flags of a certificate.
Syntax
'Declaration
 
Public Shared Function GetKeyUsage( _
   ByVal cert As X509Certificate2 _
) As X509KeyUsageFlags
'Usage
 
Dim cert As X509Certificate2
Dim value As X509KeyUsageFlags
 
value = X509Utils.GetKeyUsage(cert)
public static X509KeyUsageFlags GetKeyUsage( 
   X509Certificate2 cert
)
public:
static X509KeyUsageFlags GetKeyUsage( 
   X509Certificate2^ cert
) 

Parameters

cert
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

X509Utils Class
X509Utils Members