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



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.Application.ComTypes Namespace > _UAObtainCertificateArguments Interface : ForceUpdateCertificate Property
Determines whether the certificate will be updated regardless of its status in the Certificate Manager (CM).
Syntax
'Declaration
 
Property ForceUpdateCertificate As Boolean
'Usage
 
Dim instance As _UAObtainCertificateArguments
Dim value As Boolean
 
instance.ForceUpdateCertificate = value
 
value = instance.ForceUpdateCertificate
bool ForceUpdateCertificate {get; set;}
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.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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