Connectivity Software User's Guide and Reference
Basic256 Field



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UASecurityPolicyUriStrings Class : Basic256 Field
The URI string for the Basic256 security policy. Note: The policy is obsolete.

This is a constant, and its value is "http://opcfoundation.org/UA/SecurityPolicy#Basic256".

Syntax
'Declaration
 
<ObsoleteAttribute("The Basic256 security policy is obsolete.")>
Public Const Basic256 As String
'Usage
 
Dim value As String
 
value = UASecurityPolicyUriStrings.Basic256
[Obsolete("The Basic256 security policy is obsolete.")]
public const string Basic256
[Obsolete("The Basic256 security policy is obsolete.")]
public:
const String^ Basic256
Remarks

In order to obtain or modify the security policy URI string, in the default state (when $(memberUrl equals to false), access OpcLabs.EasyOpc.UA.UACommunicationProfile.SecurityPolicyUriString property of UAEndpointSelectionPolicy.CommunicationProfile property of EndpointSelectionPolicy property of UAClientAdaptableParameters.SessionParameters property of static $(memberUrl. If you have set $(memberUrl to true, you need to access OpcLabs.EasyOpc.UA.UACommunicationProfile.SecurityPolicyUriString property of UAEndpointSelectionPolicy.CommunicationProfile property of EndpointSelectionPolicy property of UAClientAdaptableParameters.SessionParameters property of $(memberUrl.

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.

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