OPC Studio User's Guide and Reference
DefaultEnforceSamePort Field



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UAEndpointSelectionPolicy Class : DefaultEnforceSamePort Field
Default value of the EnforceSamePort property.
Syntax
'Declaration
 
Public Const DefaultEnforceSamePort As Boolean
'Usage
 
Dim value As Boolean
 
value = UAEndpointSelectionPolicy.DefaultEnforceSamePort
public const bool DefaultEnforceSamePort
public:
const bool DefaultEnforceSamePort
Remarks
In order to prevent any possible confusion: "Enforce" here means that the client will automatically replace the port on the endpoint, if it is different from what we know from discovery. "Enforce" does not mean that endpoint with a different port will be rejected.
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