OPC Studio User's Guide and Reference
DiscoveryUriTemplateStrings Property (UAHostParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UAHostParameters Class : DiscoveryUriTemplateStrings Property
The URL templates of discovery endpoints that will be used for discovery tasks.
Syntax
'Declaration
 
Public Property DiscoveryUriTemplateStrings As StringCollection
'Usage
 
Dim instance As UAHostParameters
Dim value As StringCollection
 
instance.DiscoveryUriTemplateStrings = value
 
value = instance.DiscoveryUriTemplateStrings
public StringCollection DiscoveryUriTemplateStrings {get; set;}
public:
property StringCollection^ DiscoveryUriTemplateStrings {
   StringCollection^ get();
   void set (    StringCollection^ value);
}
Remarks

A "{host}" expression in the template indicates a discovery host name.

In order to obtain or modify this parameter, in the default state (when OpcLabs.EasyOpc.UA.EasyUAClientCore.Isolated equals to false), access UAClientAdaptableParameters.HostParameters property of static OpcLabs.EasyOpc.UA.EasyUAClientCore.AdaptableParameters. If you have set OpcLabs.EasyOpc.UA.EasyUAClientCore.Isolated to true, you need to access UAClientAdaptableParameters.HostParameters property of OpcLabs.EasyOpc.UA.EasyUAClientCore.IsolatedParameters.

If the scheme specified is known to be not supported, the discovery endpoint URL with this scheme will be silently skipped during discovery. This can happen e.g. in .NET Standard with the "http" scheme, or even with the "https" scheme if the custom certificate validation is on, but not supported by the runtime.

See also in Knowledge Base: Technical note-OPC UA Discovery in QuickOPC.

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