Saturday, September 17, 2016

var foo = System.Environment.MachineName;

...will get you a string in C# with the name of the hosting server.

No comments:

Post a Comment