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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application Namespace > UAExportCertificateArguments Class > UAExportCertificateArguments Constructor : UAExportCertificateArguments Constructor(String,PkiFileFormat,Boolean)
The name of the file to which the certificate will be exported.
File format in which the certificate will be exported.
Determines whether the private key will be exported with the certificate.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal filePath As String, _
   ByVal pkiFileFormat As PkiFileFormat, _
   ByVal withPrivateKey As Boolean _
)
'Usage
 
Dim filePath As String
Dim pkiFileFormat As PkiFileFormat
Dim withPrivateKey As Boolean
 
Dim instance As New UAExportCertificateArguments(filePath, pkiFileFormat, withPrivateKey)
public UAExportCertificateArguments( 
   string filePath,
   PkiFileFormat pkiFileFormat,
   bool withPrivateKey
)
public:
UAExportCertificateArguments( 
   String^ filePath,
   PkiFileFormat pkiFileFormat,
   bool withPrivateKey
)

Parameters

filePath
The name of the file to which the certificate will be exported.
pkiFileFormat
File format in which the certificate will be exported.
withPrivateKey
Determines whether the private key will be exported with the certificate.
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