FileContent.cs 767 B

1234567891011121314151617181920212223242526
  1. /* ==============================================================================
  2. * 功能描述:FileContent
  3. * 创 建 者:Garrett
  4. * 创建日期:2019/9/16 19:25:15
  5. * ==============================================================================*/
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Linq;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11. namespace PackageUploader.Http
  12. {
  13. /// <summary>
  14. /// FileContent
  15. /// </summary>
  16. class FileContent
  17. {
  18. public int BufferLength { get; set; } = 1024 * 1024;
  19. /// <summary>
  20. /// 超时设置
  21. /// </summary>
  22. public int Timeout { get; set; } = 600000;
  23. public EventHandler<StreamProgressArgs> TransferProgress { get; set; }
  24. }
  25. }