Connectivity Software User's Guide and Reference
X509Certificate Property



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.Security.User Namespace > X509CertificateUserIdentityToken Class : X509Certificate Property
Gets the X.509 certificate used for user authentication.
Syntax
'Declaration
 
<JetBrains.Annotations.NotNullAttribute()>
Public ReadOnly Property X509Certificate As X509Certificate2
'Usage
 
Dim instance As X509CertificateUserIdentityToken
Dim value As X509Certificate2
 
value = instance.X509Certificate
[JetBrains.Annotations.NotNull()]
public X509Certificate2 X509Certificate {get;}
[JetBrains.Annotations.NotNull()]
public:
property X509Certificate2^ X509Certificate {
   X509Certificate2^ get();
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also