OPC Studio User's Guide and Reference
UAExportCertificateArguments Constructor(String,PkiFileFormat)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application Namespace > UAExportCertificateArguments Class > UAExportCertificateArguments Constructor : UAExportCertificateArguments Constructor(String,PkiFileFormat)
The name of the file to which the certificate will be exported.

The value of this parameter cannot be null (Nothing in Visual Basic).

File format in which the certificate will be exported.
Initializes a new instance of the class, specifying the file path, and PKI file format. Private key will not be exported.
Syntax
'Declaration
 
Public Function New( _
   ByVal filePath As String, _
   ByVal pkiFileFormat As PkiFileFormat _
)
'Usage
 
Dim filePath As String
Dim pkiFileFormat As PkiFileFormat
 
Dim instance As New UAExportCertificateArguments(filePath, pkiFileFormat)
public UAExportCertificateArguments( 
   string filePath,
   PkiFileFormat pkiFileFormat
)
public:
UAExportCertificateArguments( 
   String^ filePath,
   PkiFileFormat pkiFileFormat
)

Parameters

filePath
The name of the file to which the certificate will be exported.

The value of this parameter cannot be null (Nothing in Visual Basic).

pkiFileFormat
File format in which the certificate will be exported.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also