JCL Help:GetLocalComputerName
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: GetLocalComputerName Function
[+] JclSysInfo.pas Functions
Search in JCL Help
Search in all projects
Summary
Returns the name of the local computer.
Pascal
function GetLocalComputerName: string;
Return Value
The local computer name or an empty string on failure.
Description
The GetLocalComputerName function retrieves the NetBIOS name of the local computer. This name is established at system startup, when the system reads it from the registry. If the local computer is a node in a cluster, GetLocalComputerName returns the name of the cluster.
See Also
About
Unit
Donator
Nick Hodges (Win32) André Snepvangers (Unix)
Notes
If you're running Windows 2000 you can use the GetComputerNameEx function for more detailed control over exactly which name you want.
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page