Updated c# client