Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
LegalIdentityAttachment.cs
2
3// !!! keep the namespace as is. It's important for the database
5{
9 public sealed class LegalIdentityAttachment
10 {
15 {
16 }
17
24 public LegalIdentityAttachment(string fileName, string contentType, byte[] data)
25 {
26 this.FileName = fileName;
27 this.ContentType = contentType;
28 this.Data = data;
29 this.ContentLength = data?.Length ?? 0;
30 }
31
35 public string? FileName { get; set; }
36
40 public string? ContentType { get; set; }
41
45 public byte[]? Data { get; set; }
46
50 public long ContentLength { get; set; }
51 }
52}