/// <summary> /// Constructor /// </summary> /// <param name="appId">Registration Server Application Id</param> /// <param name="appSecret">Registration Server Application Secret</param> public PublicAPIConnection(string appId, string appSecret) { this.authentication = new PublicAPIAuthentication(this, appId, appSecret); this.Initialize(); }
/// <summary> /// Constructor /// </summary> public PublicAPIConnection() { this.authentication = new PublicAPIAuthentication(this, AuthenticationInfoProvider.Current.DefaultAppKey, AuthenticationInfoProvider.Current.DefaultAppSecret); this.Initialize(); }