NetName Function | |
Identify the current workstation.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax FUNCTION NetName() AS STRING
public static string NetName()
Request Example
View SourceReturn Value
Type:
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.
Remarks Examples
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:
See Also