OPCDA.NET Reference Manual
GetServerList(String[]) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPC Namespace > OpcServerBrowser Class > GetServerList Method : GetServerList(String[]) Method

Servers
OUT: Array with ProgIds of the enumerated servers

Glossary Item Box

Get the names of the registerd OPC DA V1, V2, V3 servers. The ProgId of all OPCDA servers is returned as a string array.
This array can e.g. be directly displayed in a Windows control.
The Xi or UA enhanced OPCDA.NET version also includes Xi/UA servers. Enumerating Xi/UA servers requires a Xi/UA discovery server to be currently running locally or on the LAN. Only the Xi/UA server discovered on the local or the specified machine are included in the result.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub GetServerList( _
   ByRef Servers As String() _
) 
C# 
public void GetServerList( 
   out string[] Servers
)

Parameters

Servers
OUT: Array with ProgIds of the enumerated servers

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.