'Declaration
<ExtensionAttribute()> Public Shared Function UseSecurity( _ ByVal messageSecurityModes As UAMessageSecurityModes _ ) As Boolean
'Usage
Dim messageSecurityModes As UAMessageSecurityModes Dim value As Boolean value = UAMessageSecurityModesExtension.UseSecurity(messageSecurityModes)
[Extension()] public static bool UseSecurity( UAMessageSecurityModes messageSecurityModes )
[Extension()] public: static bool UseSecurity( UAMessageSecurityModes messageSecurityModes )
Parameters
- messageSecurityModes
- The message security modes.
Return Value
true
if the security modes contain OpcLabs.EasyOpc.UA.Engine.UAMessageSecurityModes.SecuritySign or OpcLabs.EasyOpc.UA.Engine.UAMessageSecurityModes.SecuritySignAndEncrypt; false
otherwise.