C#.Net Client side API wrapper