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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security Namespace > CertificateQuery Class > CertificateQuery Constructor : CertificateQuery Constructor(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).

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

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).

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