-
-
Save ztirom/fca96812e6551814b50aca0261f55657 to your computer and use it in GitHub Desktop.
Get client hostname with xpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void GetClientNames(Args _args) | |
{ | |
#define.CLIENTNAME("CLIENTNAME") | |
// TS Host | |
info(xGlobal::computerName()); | |
// Client | |
info(System.Environment::GetEnvironmentVariable(#CLIENTNAME)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment