Esempio n. 1
0
        /// <summary>
        /// Creates a new CDN Client without any hosts
        /// </summary>
        /// <param name="applyDecryption"></param>
        private CDNClient(bool applyDecryption)
        {
            Hosts           = new List <string>();
            Armadillo       = new Armadillo();
            ApplyDecryption = applyDecryption;

            if (ServicePointManager.DefaultConnectionLimit != ushort.MaxValue)
            {
                ServicePointManager.DefaultConnectionLimit = ushort.MaxValue;
            }
        }
Esempio n. 2
0
 /// <summary>
 /// Creates a new CDN Client without any hosts
 /// </summary>
 /// <param name="applyDecryption"></param>
 private CDNClient(bool applyDecryption)
 {
     Hosts           = new List <string>();
     Armadillo       = new Armadillo();
     ApplyDecryption = applyDecryption;
 }