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

Servers
OUT: Array with ProgIds of the enumerated OPC DA servers
ClsIDs
OUT: Array with CLSIDs of the enumerated OPC DA servers

Glossary Item Box

Get the names and CLSIDs 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.

Syntax

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

Parameters

Servers
OUT: Array with ProgIds of the enumerated OPC DA servers
ClsIDs
OUT: Array with CLSIDs of the enumerated OPC DA 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.