OPC Studio User's Guide and Reference
AutoGenerateInstanceCertificate Property (UAClientServerApplicationParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UAClientServerApplicationParameters Class : AutoGenerateInstanceCertificate Property
Determines whether the application will automatically generate its instance certificate when not present.
Syntax
'Declaration
 
<DataMemberAttribute()>
<DefaultValueAttribute(True)>
Public Property AutoGenerateInstanceCertificate As Boolean
'Usage
 
Dim instance As UAClientServerApplicationParameters
Dim value As Boolean
 
instance.AutoGenerateInstanceCertificate = value
 
value = instance.AutoGenerateInstanceCertificate
[DataMember()]
[DefaultValue(true)]
public bool AutoGenerateInstanceCertificate {get; set;}
[DataMember()]
[DefaultValue(true)]
public:
property bool AutoGenerateInstanceCertificate {
   bool get();
   void set (    bool value);
}
Remarks

In order to obtain or modify this parameter, access the OpcLabs.EasyOpc.UA.Application.EasyUAApplicationCore.ApplicationParameters property of static EasyUAApplication.Instance.

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