OPC Studio User's Guide and Reference
EffectiveSecurityMode Property (UADataSetSubscriptionDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetSubscriptionDescriptor Class : EffectiveSecurityMode Property
The effective security mode being used by this descriptor.
Syntax
'Declaration
 
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
Public ReadOnly Property EffectiveSecurityMode As UAMessageSecurityModes
'Usage
 
Dim instance As UADataSetSubscriptionDescriptor
Dim value As UAMessageSecurityModes
 
value = instance.EffectiveSecurityMode
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
public UAMessageSecurityModes EffectiveSecurityMode {get;}
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
public:
property UAMessageSecurityModes EffectiveSecurityMode {
   UAMessageSecurityModes get();
}
Remarks

If a security mode is specified in the CommunicationParameters (i.e. it does not equal to OpcLabs.EasyOpc.UA.Engine.UAMessageSecurityModes.None), it becomes the effective security mode. Otherwise, the InferredSecurityMode is used.

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