RingCentral.Platform.Platform C# (CSharp) Method

Platform() public method

public Platform ( string appKey, string appSecret, string serverUrl, string appName = "", string appVersion = "" ) : System
appKey string
appSecret string
serverUrl string
appName string
appVersion string
return System
        public Platform(string appKey, string appSecret, string serverUrl, string appName = "", string appVersion = "")
        {
            this.appKey = appKey;
            this.appSecret = appSecret;
            this.ServerUrl = serverUrl;
            Auth = new Auth();
            _client = new HttpClient { BaseAddress = new Uri(this.ServerUrl) };
            SetUserAgentHeader(appName, appVersion);
        }