OPCDA.NET-UA
ImportServerCertificate Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > Opc.Ua.ClientDA Namespace > ClientUtils Class : ImportServerCertificate Method

configFileName
The UA configuration file path
certificatePath
The certificate file path

Glossary Item Box

The specified certificate is imported into the Trusted UA Peer Certificate store defined in teh applicaiton UA configuration.

Syntax

Visual Basic (Declaration) 
Public Shared Function ImportServerCertificate( _
   ByVal configFileName As String, _
   ByVal certificatePath As String _
) As X509Certificate2
C# 
public static X509Certificate2 ImportServerCertificate( 
   string configFileName,
   string certificatePath
)

Parameters

configFileName
The UA configuration file path
certificatePath
The certificate file path

Return Value

The imported certificate as information.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.7.2

See Also

Copyright © 2020 Advosol Inc. All Rights Reserved.