static void Main(string[] args) { // this code gets the users from localhost - // can change this to a remote hostname on the network Console.Write(UserLogins.GetUser("COMPUTER_NAME", "USER_NAME")); Console.ReadKey(); }