summaryrefslogtreecommitdiff
path: root/FileObject.cs
blob: 00c17843c9faee78189f2692a4df440aa2417ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
    }

}