public CloudFilesAssetWorker(int readTimeout, int writeTimeout)
 {
     CloudIdentity identity = new CloudIdentity { Username = Config.Settings.Instance.CFUsername, APIKey = Config.Settings.Instance.CFApiKey };
     IRestService restService = new CoreExt.ExtendedJsonRestServices(readTimeout, writeTimeout);
     _provider = new CoreExt.ExtendedCloudFilesProvider(identity, Config.Settings.Instance.CFDefaultRegion, null, restService);
     
     //warm up
     _provider.GetAccountHeaders(useInternalUrl: Config.Settings.Instance.CFUseInternalURL, region: Config.Settings.Instance.CFDefaultRegion);
 }
        public CloudFilesAssetWorker(int readTimeout, int writeTimeout)
        {
            CloudIdentity identity = new CloudIdentity {
                Username = Config.Settings.Instance.CFUsername, APIKey = Config.Settings.Instance.CFApiKey
            };
            IRestService restService = new CoreExt.ExtendedJsonRestServices(readTimeout, writeTimeout);

            _provider = new CoreExt.ExtendedCloudFilesProvider(identity, Config.Settings.Instance.CFDefaultRegion, null, restService);

            //warm up
            _provider.GetAccountHeaders(useInternalUrl: Config.Settings.Instance.CFUseInternalURL, region: Config.Settings.Instance.CFDefaultRegion);
        }