API Setup c#