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.Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x