The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UploadFileViewModel.cs 737B

123456789101112131415161718192021222324252627282930
  1. using Microsoft.AspNetCore.Http;
  2. using Microsoft.AspNetCore.Mvc;
  3. using Microsoft.AspNetCore.Mvc.Formatters;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Threading.Tasks;
  8. using Teknik.Areas.Users.Models;
  9. using Teknik.Utilities;
  10. namespace Teknik.Areas.Upload.ViewModels
  11. {
  12. public class UploadFileViewModel
  13. {
  14. public string fileType { get; set; }
  15. public string fileExt { get; set; }
  16. public string iv { get; set; }
  17. public int keySize { get; set; }
  18. public int blockSize { get; set; }
  19. [ModelBinder(BinderType = typeof(FormDataJsonBinder))]
  20. public UploadSettings options { get; set; }
  21. public IFormFile file { get; set; }
  22. }
  23. }