OPCHDA.NET Reference Manual
OpcHDAServerBrowser Class Members
See Also  Properties  Methods  Send Feedback
OpcHDAWrapperUA.Net4 Assembly > OPCHDA Namespace : OpcHDAServerBrowser Class

Glossary Item Box

The following tables list the members exposed by OpcHDAServerBrowser.

Public Constructors

 NameDescription
Public ConstructorOpcHDAServerBrowser ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyUaDiscoveryServerUrlWith UA option only.
The URL of the UA discovery server. The default is "opc.tcp://localhost:4840" The OpcServerBrowser() methods variants with a machine name argument replace "localhost" with the specifie name. This property only needs to be set if a non-default port number or protocol is to be used for the Discobvery server.  
Top

Public Methods

 NameDescription
Public MethodCLSIDFromProgID Get a server's CLSID from it's ProgId. See OPC specs, chapter 'OPC Server Browser' for details.  
Public MethodEnumClassesOfCategories Enumerate the registered OPC servers. See OPC specs, chapter 'OPC Server Browser' for details  
Public MethodGetClassDetails Get the ProgId and user type or the server with the specified CLSID. See OPC specs, chapter 'OPC Server Browser' for details  
Public MethodGetServerListOverloaded. Get the names of the registerd OPC HDA 1.x servers. The ProgId of all servers is returned as a string array. This array can e.g. be directly displayed in a Windos control:

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)

 
Top

See Also

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