OPC Studio User's Guide and Reference
ServerName Property (UAServerOnNetwork)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UAServerOnNetwork Class : ServerName Property
The name of the server specified in the mDNS announcement.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Property ServerName As String
'Usage
 
Dim instance As UAServerOnNetwork
Dim value As String
 
instance.ServerName = value
 
value = instance.ServerName
[NotNull()]
public string ServerName {get; set;}
[NotNull()]
public:
property String^ ServerName {
   String^ get();
   void set (    String^ value);
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The default value of this property is "" (String.Empty).

Remarks

"... the mDNS announcement (see Part 12).
This may be the same as the ApplicationName for the Server."

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