OPC Studio User's Guide and Reference
SecurityMode Property (_UAPubSubGroupElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration.ComTypes Namespace > _UAPubSubGroupElement Interface : SecurityMode Property
Indicates the level of security applied to the network messages published by a writer group or received by a reader group.
Syntax
'Declaration
 
Property SecurityMode As UAMessageSecurityModes
'Usage
 
Dim instance As _UAPubSubGroupElement
Dim value As UAMessageSecurityModes
 
instance.SecurityMode = value
 
value = instance.SecurityMode
UAMessageSecurityModes SecurityMode {get; set;}
property UAMessageSecurityModes SecurityMode {
   UAMessageSecurityModes get();
   void set (    UAMessageSecurityModes value);
}

Property Value

The default value of this property is None.

Because there is an implicit conversion from OpcLabs.EasyOpc.UA.Engine.UAMessageSecurityModes to OpcLabs.EasyOpc.UA.Engine.UAEndpointSelectionPolicy, you can simply use the returned OpcLabs.EasyOpc.UA.Engine.UAMessageSecurityModes in any place where OpcLabs.EasyOpc.UA.Engine.UAEndpointSelectionPolicy is expected as input, and the corresponding endpoint selection policy will be constructed automatically from the message security modes. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.UA.Engine.UAEndpointSelectionPolicy.FromUAMessageSecurityModes static method instead.

Remarks

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