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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Application Namespace > UACertificateRequestParameters Class : TryReuseExistingPrivateKey Property
Determines whether a private key will be reused, if possible.
Syntax
'Declaration
 
<DefaultValueAttribute(True)>
Public Property TryReuseExistingPrivateKey As Boolean
'Usage
 
Dim instance As UACertificateRequestParameters
Dim value As Boolean
 
instance.TryReuseExistingPrivateKey = value
 
value = instance.TryReuseExistingPrivateKey
[DefaultValue(true)]
public bool TryReuseExistingPrivateKey {get; set;}
[DefaultValue(true)]
public:
property bool TryReuseExistingPrivateKey {
   bool get();
   void set (    bool value);
}
Remarks

The existing private key will be reused only if all following conditions are satisfied:

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