How to implement code for a Client to invoke a command from the command line - C#