OPCDA.NET Reference Manual
OpcServerBrowser Class Members
See Also  Properties  Methods  Send Feedback
OpcDaNetUA.Net4 Assembly > OPC Namespace : OpcServerBrowser Class


Glossary Item Box

The following tables list the members exposed by OpcServerBrowser.

Public Constructors

 NameDescription
Public ConstructorOpcServerBrowser 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 MethodCLSIDFromProgIDGet a server's CLSID from it's ProgId.
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 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.  
Top

Protected Methods

 NameDescription
Protected MethodFinalize  
Top

See Also

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