OPCDA.NET Reference Manual
ComApi Class Members
See Also  Methods  Send Feedback
OpcNetBase.Net4 Assembly > OPC.Common Namespace : ComApi Class


Glossary Item Box

The following tables list the members exposed by ComApi.

Public Constructors

 NameDescription
Public ConstructorComApi Constructor  
Top

Public Methods

 NameDescription
Public Methodstatic (Shared in Visual Basic)CreateInstance Connect to the OPC server.  
Public Methodstatic (Shared in Visual Basic)EnumComputers Enumerates the computers on the local network using the Netapi32.dll - NetServerEnum function.  
Public Methodstatic (Shared in Visual Basic)GetComputerName Retrieves the name of the local computer using the Kernel32.dll - GetComputerName function.  
Public Methodstatic (Shared in Visual Basic)InitializeSecurityInitialize DCOM security settings.
This method must be called at the very beginning of an application. It can be executed only once. If it was not yet called then .Net calls it with its default setting when the first DCOm access is made.  
Top

See Also

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