Connectivity Software User's Guide and Reference
ForceUpdateCertificate Property (UAObtainCertificateArguments)



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.Application Namespace > UAObtainCertificateArguments Class : ForceUpdateCertificate Property
Determines whether the certificate will be updated regardless of its status in the Certificate Manager (CM).
Syntax
'Declaration
 
Public Property ForceUpdateCertificate As Boolean
'Usage
 
Dim instance As UAObtainCertificateArguments
Dim value As Boolean
 
instance.ForceUpdateCertificate = value
 
value = instance.ForceUpdateCertificate
public bool ForceUpdateCertificate {get; set;}
public:
property bool ForceUpdateCertificate {
   bool get();
   void set (    bool value);
}

Property Value

The default value of this property is True.

Remarks

When this property is set to false, the certificate will only be updated if the Certificate Manager (CM) indicates (using its GetCertificateStatus method) that the application has to update its certificate.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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