make C# Client work -- in progress