OPC Studio User's Guide and Reference
PrivateKeyFileName Property (UACertificateRequestParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application Namespace > UACertificateRequestParameters Class : PrivateKeyFileName Property
Name of the file with the own certificate private key.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Property PrivateKeyFileName As String
'Usage
 
Dim instance As UACertificateRequestParameters
Dim value As String
 
instance.PrivateKeyFileName = value
 
value = instance.PrivateKeyFileName
[NotNull()]
public string PrivateKeyFileName {get; set;}
[NotNull()]
public:
property String^ PrivateKeyFileName {
   String^ get();
   void set (    String^ value);
}

Property Value

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

The default value of this property is "" (String.Empty).

Remarks

If this value is not empty, the private key from the specified file will be used for the new certificate request, and not the private key from the current own 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