diff options
Diffstat (limited to 'FileObject.cs')
-rw-r--r-- | FileObject.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/FileObject.cs b/FileObject.cs new file mode 100644 index 0000000..00c1784 --- /dev/null +++ b/FileObject.cs @@ -0,0 +1,18 @@ +namespace download;
+
+public class FileObject
+{
+ public string Key {get;private set;}
+ public string MimeType {get;private set;}
+ public string FileName {get;private set;}
+ public byte[] Data {get;private set;}
+
+ public FileObject(string key, string mimetype, string filename, byte[] data)
+ {
+ Key = key;
+ MimeType = mimetype;
+ FileName = filename;
+ Data = data;
+ }
+
+}
|