Discovers available OPC-UA servers on the network and returns information about them.
            
            
            
            
            
            
            
            'Declaration
 
<ExtensionAttribute()>
<ElementsNotNullAttribute()>
<NotNullAttribute()>
Public Overloads Shared Function DiscoverNetworkServers( _
   ByVal  As IEasyUAClient, _
   ByVal  As IEnumerable(Of String), _
   ByVal  As String, _
   ByVal  As Boolean _
) As UADiscoveryElementCollection
             
        
            
            'Usage
 
Dim client As IEasyUAClient
Dim serverCapabilityFilter As IEnumerable(Of String)
Dim discoveryHost As String
Dim flat As Boolean
Dim value As UADiscoveryElementCollection
 
value = IEasyUAClientExtension.DiscoverNetworkServers(client, serverCapabilityFilter, discoveryHost, flat)
             
        
            
            [Extension()]
[ElementsNotNull()]
[NotNull()]
public static UADiscoveryElementCollection DiscoverNetworkServers( 
   IEasyUAClient ,
   IEnumerable<string> ,
   string ,
   bool 
)
             
        
            
            [Extension()]
[ElementsNotNull()]
[NotNull()]
public:
static UADiscoveryElementCollection^ DiscoverNetworkServers( 
   IEasyUAClient^ ,
   IEnumerable<String^>^ ,
   String^ ,
   bool 
) 
             
        
             
        
            Parameters
- client
 
- The client object that will perform the operation.
 - serverCapabilityFilter
 
- List of Server capability filters. Only records with all the specified server capabilities are returned.
 - discoveryHost
 
- The name of the machine that runs the discovery server that will be used for discovery task.
 - flat
 
- Determines whether one element will be returned for each discovery URI.
 
            
            Return Value
Returns a collection of application elements (servers, 
OpcLabs.EasyOpc.UA.Discovery.UADiscoveryElement).
 
             
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