'Declaration
<ObsoleteAttribute("The Https security policy is obsolete.")> Public Const Https As String
'Usage
Dim value As String value = UASecurityPolicyUriStrings.Https
'Declaration
<ObsoleteAttribute("The Https security policy is obsolete.")> Public Const Https As String
'Usage
Dim value As String value = UASecurityPolicyUriStrings.Https
In order to obtain or modify the security policy URI string, in the default state (when OpcLabs.EasyOpc.UA.EasyUAClientCore.Isolated equals to false
), access SecurityPolicyUriString property of EndpointSelectionPolicy property of UAClientAdaptableParameters.SessionParameters property of static OpcLabs.EasyOpc.UA.EasyUAClientCore.AdaptableParameters. If you have set OpcLabs.EasyOpc.UA.EasyUAClientCore.Isolated to true
, you need to access SecurityPolicyUriString property of EndpointSelectionPolicy property of UAClientAdaptableParameters.SessionParameters property of OpcLabs.EasyOpc.UA.EasyUAClientCore.IsolatedParameters.
Alternatively, you can override the endpoint selection policy for a specific endpoint by setting it to a non-null
value in OpcLabs.EasyOpc.UA.UAEndpointDescriptor.EndpointSelectionPolicy.