09-22-2003 04:36 AM
09-22-2003 04:44 AM
09-22-2003 04:54 AM
09-22-2003 07:36 AM
09-22-2003 07:36 AM
08-05-2014 02:44 PM
This one worked nice!
08-05-2014 04:24 PM
You could always use the system exec to run the command
IPCONFIG /ALL
Then parse the text for the Host Name
That would eliminate any Windows version poblems.
08-06-2014 12:44 AM - edited 08-06-2014 12:55 AM
More than ten years later, Luca's solution is still very easy and has no Windows version problems. It looks like this :
08-06-2014 08:14 AM
If you want more than just the computer name, you can use something like this.
11-06-2015 04:09 PM
But not such a good solution on Windows Server OS:
https://lavag.org/topic/19322-get-host-name-performance-issue/