QuickOPC User's Guide and Reference
MachineName Property (_ComputerElement)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Network.ComTypes Namespace > _ComputerElement Interface : MachineName Property
The name of the computer.
Syntax
'Declaration
 
<NotNullAttribute()>
<ValueDomainAttribute(OpcLabs.BaseLib.ValueDomains.UncOrDnsComputerNameValueDomain)>
Property MachineName As String
'Usage
 
Dim instance As _ComputerElement
Dim value As String
 
instance.MachineName = value
 
value = instance.MachineName
[NotNull()]
[ValueDomain(OpcLabs.BaseLib.ValueDomains.UncOrDnsComputerNameValueDomain)]
string MachineName {get; set;}
[NotNull()]
[ValueDomain(OpcLabs.BaseLib.ValueDomains.UncOrDnsComputerNameValueDomain)]
property String^ MachineName {
   String^ get();
   void set (    String^ value);
}
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