QuickOPC User's Guide and Reference
ComputerElement Constructor(String)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Network Namespace > ComputerElement Class > ComputerElement Constructor : ComputerElement Constructor(String)
Name of the machine (empty string for local computer).
Initializes a new instance of the class, given a machine name.
Syntax
'Declaration
 
Public Function New( _
   ByVal machineName As String _
)
'Usage
 
Dim machineName As String
 
Dim instance As New ComputerElement(machineName)
public ComputerElement( 
   string machineName
)
public:
ComputerElement( 
   String^ machineName
)

Parameters

machineName
Name of the machine (empty string for local computer).
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also