UpgradeFileInfo.cs 1008 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace vCloud.Windows.ForceUpgrade
  5. {
  6. [Serializable]
  7. public class UpgradeFileInfo
  8. {
  9. /// <summary>
  10. /// 最后写入时间
  11. /// </summary>
  12. public string LastWriteTime { get; set; }
  13. /// <summary>
  14. /// 文件大小
  15. /// </summary>
  16. public long Size { get; set; }
  17. /// <summary>
  18. /// 文件版本
  19. /// </summary>
  20. public string FileVersion { get; set; }
  21. /// <summary>
  22. /// 产品版本
  23. /// </summary>
  24. public string ProductVersion { get; set; }
  25. /// <summary>
  26. /// 文件MD5
  27. /// </summary>
  28. public string Md5Code { get; set; }
  29. /// <summary>
  30. /// 文件操作类型
  31. /// </summary>
  32. public UpgradeOperateType Type { get; set; }
  33. }
  34. public enum UpgradeOperateType
  35. {
  36. Add,
  37. Remove
  38. }
  39. }