EasyUA Reference
ImportServerCertificate Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > ConfigUtils 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 the application UA configuration.

Syntax

Visual Basic (Usage)Copy Code
Dim configFileName As String
Dim certificatePath As String
Dim value As X509Certificate2
 
value = ConfigUtils.ImportServerCertificate(configFileName, certificatePath)
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 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.