Visual Basic (Usage) | ![]() |
---|---|
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.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x