QuickOPC User's Guide and Reference
WithX509CertificateIdentity Method

OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Extensions Namespace > UAEndpointDescriptorExtension Class : WithX509CertificateIdentity Method
The OPC UA endpoint descriptor.
The name of a certificate file.
The password required to access the X.509 certificate data.
Creates a copy of an endpoint descriptor, with user name identity given by X.509 certificate.
Public Shared Function WithX509CertificateIdentity( _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal fileName As String, _
   ByVal password As String _
) As UAEndpointDescriptor
Dim endpointDescriptor As UAEndpointDescriptor
Dim fileName As String
Dim password As String
Dim value As UAEndpointDescriptor
value = UAEndpointDescriptorExtension.WithX509CertificateIdentity(endpointDescriptor, fileName, password)
public static UAEndpointDescriptor WithX509CertificateIdentity( 
   UAEndpointDescriptor endpointDescriptor,
   string fileName,
   string password
static UAEndpointDescriptor^ WithX509CertificateIdentity( 
   UAEndpointDescriptor^ endpointDescriptor,
   String^ fileName,
   String^ password


The OPC UA endpoint descriptor.
The name of a certificate file.
The password required to access the X.509 certificate data.

Return Value

Returns a clone of endpointDescriptor, with the user name identity loaded from the file given by fileName and optionally protected by a password password.

Target Platforms: .NET Framework: Windows 10, Windows Server 2012; .NET Core: Linux, macOS, Microsoft Windows

See Also


UAEndpointDescriptorExtension Class
UAEndpointDescriptorExtension Members