get server name c# code example Example: how to get desktop name in c# System.Environment.MachineName