OPC Studio User's Guide and Reference
HostName Property (HostElement)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Network Namespace > HostElement Class : HostName Property
The name of the host.
Syntax
'Declaration
 
<DefaultValueAttribute("")>
<NotNullAttribute()>
<ValueDomainAttribute(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)>
Public Property HostName As String
'Usage
 
Dim instance As HostElement
Dim value As String
 
instance.HostName = value
 
value = instance.HostName
[DefaultValue("")]
[NotNull()]
[ValueDomain(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)]
public string HostName {get; set;}
[DefaultValue("")]
[NotNull()]
[ValueDomain(OpcLabs.BaseLib.Networking.ValueDomains.DnsComputerNameValueDomain)]
public:
property String^ HostName {
   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