Exemplo n.º 1
0
		/// <summary>
		/// Constructs a <see cref="BlobTransferClient"/> object.
		/// </summary>
		public BlobTransferClient(TimeSpan forceSharedAccessSignatureRetry = default(TimeSpan))
		{
			_forceSharedAccessSignatureRetry = forceSharedAccessSignatureRetry;
            ParallelTransferThreadCount = ServicePointModifier.DefaultConnectionLimit();
            NumberOfConcurrentTransfers = ServicePointModifier.DefaultConnectionLimit();
		}
Exemplo n.º 2
0
 protected void SetConnectionLimits(Uri url)
 {
     ServicePointModifier.SetConnectionPropertiesForSmallPayloads(url);
 }