VC# sample:
string[] aProgIds;
OpcServerBrowser SrvList = new OpcServerBrowser(); SrvList.GetServerList( out aProgId ); comboBoxServers.Items.AddRange( aProgId );
VB sample:
Dim aProgIds As String()
Dim SrvList As New OpcServerBrowser()
SrvList.GetServerList(aProgIds)
comboBoxServers.Items.AddRange(aProgIds)
Parameters
- Servers
- OUT: ProgId of the enumerated OPC HDA V1.x servers
VC# sample:
string[] aProgIds;
OpcServerBrowser SrvList = new OpcServerBrowser(); SrvList.GetServerList( out aProgId ); comboBoxServers.Items.AddRange( aProgId );
VB sample:
Dim aProgIds As String()
Dim SrvList As New OpcServerBrowser()
SrvList.GetServerList(aProgIds)
comboBoxServers.Items.AddRange(aProgIds)
Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x