'Declaration
Public Const Basic256Sha256 As String
'Usage
Dim value As String value = UASecurityPolicyUriStrings.Basic256Sha256
public const string Basic256Sha256
public: const String^ Basic256Sha256
The value of this constant is "http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256".
'Declaration
Public Const Basic256Sha256 As String
'Usage
Dim value As String value = UASecurityPolicyUriStrings.Basic256Sha256
public const string Basic256Sha256
public: const String^ Basic256Sha256
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 OpcLabs.EasyOpc.UA.UACommunicationProfile.SecurityPolicyUriString property of UAEndpointSelectionPolicy.CommunicationProfile 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 OpcLabs.EasyOpc.UA.UACommunicationProfile.SecurityPolicyUriString property of UAEndpointSelectionPolicy.CommunicationProfile 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.