RequestBoundary.cs 797 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.IO;
  5. namespace System.Net.ApiService {
  6. public class RequestBoundary {
  7. protected string _contentDisposition;
  8. protected string _name;
  9. protected string _fileName;
  10. protected MemoryStream _data = new MemoryStream();
  11. public string ContentDisposition {
  12. get => this.ContentDisposition;
  13. set => this.ContentDisposition = value;
  14. }
  15. public string Name {
  16. get => this._name;
  17. set => this._name = value;
  18. }
  19. public string FileName {
  20. get => this._fileName;
  21. set => this._fileName = value;
  22. }
  23. public MemoryStream Data {
  24. get => this._data;
  25. }
  26. }
  27. }