Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. public class BlobUploadModel
  2. {
  3. public string FileName { get; set; }
  4. public string FileUrl { get; set; }
  5. public long FileSizeInBytes { get; set; }
  6. public long FileSizeInKb { get { return (long)Math.Ceiling((double)FileSizeInBytes / 1024); } }
  7. }
  8.  
  9. public class BlobDownloadModel
  10. {
  11. public MemoryStream BlobStream { get; set; }
  12. public string BlobFileName { get; set; }
  13. public string BlobContentType { get; set; }
  14. public long BlobLength { get; set; }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement