OPCDA.NET-UA
SaveCertificateAsTrusted Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > Opc.Ua.Client Namespace > ConfigUtils Class : SaveCertificateAsTrusted Method

config
The application configuration
certificate
The certificate

Glossary Item Box

Write the certificate to the store configured for trusted peer certificates.

Syntax

Visual Basic (Declaration) 
Public Shared Sub SaveCertificateAsTrusted( _
   ByVal config As Opc.Ua.ApplicationConfiguration, _
   ByVal certificate As X509Certificate2 _
) 
C# 
public static void SaveCertificateAsTrusted( 
   Opc.Ua.ApplicationConfiguration config,
   X509Certificate2 certificate
)

Parameters

config
The application configuration
certificate
The certificate

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.