UploadFile.cs 514 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace AwInitilizer.Model
  8. {
  9. public class UploadFile
  10. {
  11. public UploadFile()
  12. {
  13. //ContentType = "application/octet-stream";
  14. }
  15. public string Name { get; set; }
  16. public string Filename { get; set; }
  17. //public string ContentType { get; set; }
  18. public Stream Stream { get; set; }
  19. }
  20. }