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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security Namespace > CertificateQuery Class > CertificateQuery Constructor : CertificateQuery Constructor(String,String)
Name of a file in the file system that contains the certificate.

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

The password required to access the X.509 certificate data.

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

Initializes a new instance of the class, specifying a certificate file name, and access password.
Syntax
'Declaration
 
Public Function New( _
   ByVal fileName As String, _
   ByVal password As String _
)
'Usage
 
Dim fileName As String
Dim password As String
 
Dim instance As New CertificateQuery(fileName, password)
public CertificateQuery( 
   string fileName,
   string password
)
public:
CertificateQuery( 
   String^ fileName,
   String^ password
)

Parameters

fileName
Name of a file in the file system that contains the certificate.

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

password
The password required to access the X.509 certificate data.

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

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