summaryrefslogtreecommitdiff
path: root/FileObject.cs
blob: b6ddf519f828ad69781105ec3231918e553f4451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace download_admin;

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;
    }
}