//public Platform(string appKey, string appSecret, string apiEndPoint) //{ // AppKey = appKey; // AppSecret = appSecret; // ApiEndpoint = apiEndPoint; // Auth = new Auth(); // _client = new HttpClient { BaseAddress = new Uri(ApiEndpoint) }; //} public Platform(string appKey, string appSecret, string apiEndPoint, string appName, string appVersion) { AppKey = appKey; AppSecret = appSecret; ApiEndpoint = apiEndPoint; Auth = new Auth(); _client = new HttpClient {BaseAddress = new Uri(ApiEndpoint)}; SetUserAgentHeader(appName, appVersion); }