Identify the current workstation.
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax Request Example
FUNCTION NetName() AS STRING
The workstation ID as a string up to 15 characters in length.
If the workstation ID was never set or the application is not operating under Microsoft LAN Manager, it returns a NULL_STRING.
This example demonstrates the NetName() result when a workstation is started as a network node with a station identifier of "STATION 1":
This example demonstrates the NetName() result when a workstation is started as a stand-alone unit: