Inheritance: cn.jpush.api.common.BaseHttpClient
        /// <summary>
        /// 带两个参数的构造函数,该状态下,ApnsProduction默认为false
        /// </summary>
        /// <param name="app_key">Portal上产生的app_key</param>
        /// <param name="masterSecret">你的API MasterSecret</param>
        public JPushClient(String app_key, String masterSecret)
        {
            _pushClient = new PushClient(app_key, masterSecret);
            _reportClient = new ReportClient(app_key, masterSecret);
            _deviceClient = new DeviceClient(app_key, masterSecret);

        }
 /// <summary>
 /// 带两个参数的构造函数,该状态下,ApnsProduction默认为true
 /// </summary>
 /// <param name="app_key">Portal上产生的app_key</param>
 /// <param name="masterSecret">你的API MasterSecret</param>
 public JPushClient(String app_key, String masterSecret)
 {
     HashSet<DeviceEnum> devices = new HashSet<DeviceEnum>();
     devices.Add(DeviceEnum.IOS);
     devices.Add(DeviceEnum.Android);
     _pushClient = new PushClient(masterSecret, app_key, MessageParams.NO_TIME_TO_LIVE, null, true);
     _reportClient = new ReportClient(app_key, masterSecret);
 }
 /// <summary>
 /// JPushClient构造函数,可指定
 /// </summary>
 /// <param name="app_key">Portal上产生的app_key</param>
 /// <param name="masterSecret">你的API MasterSecret</param>
 /// <param name="time_to_live">有效期</param>
 /// <param name="platform">目标推送平台</param>
 /// <param name="apnsProduction">是否iOS生产环境 - true为生产环境,false为开发环境</param>
 public JPushClient(String app_key, String masterSecret, int time_to_live, HashSet<DeviceEnum> platform, bool apnsProduction)
 {
     _pushClient = new PushClient(masterSecret, app_key, time_to_live, platform, apnsProduction);
     _reportClient = new ReportClient(app_key, masterSecret);
 }