14 private string contentType =
string.
Empty;
15 private string fileName =
null;
16 private byte[] signature =
null;
17 private DateTime timestamp = DateTime.MinValue;
32 set => this.id = value;
41 set => this.legalId = value;
49 get => this.contentType;
50 set => this.contentType = value;
59 set => this.fileName = value;
69 get => this.signature;
70 set => this.signature = value;
76 [DefaultValueDateTimeMinValue]
79 get => this.timestamp;
80 set => this.timestamp = value;
90 return (this.
id != UpdatedAttachmentReference.id ||
91 this.legalId != UpdatedAttachmentReference.legalId ||
92 this.contentType != UpdatedAttachmentReference.contentType ||
93 this.fileName != UpdatedAttachmentReference.fileName ||
94 this.timestamp != UpdatedAttachmentReference.timestamp ||
95 Convert.ToBase64String(
this.signature) != Convert.ToBase64String(UpdatedAttachmentReference.signature));
Represents a case-insensitive string.
static readonly CaseInsensitiveString Empty
Empty case-insensitive string
Represents an attachment to a document.
string FileName
Filename of attachment.
string ContentType
Internet Content Type of binary attachment.
byte[] Signature
Binary signature of the attachment, generated by an approved legal identity of the account-holder....
DateTime Timestamp
Timestamp of signature. If no signature, value is DateTime.MinValue
bool UpdateRequiresReview(AttachmentReference UpdatedAttachmentReference)
Checks if an updated attachment reference requires review.
AttachmentReference()
Represents an attachment to a document.
CaseInsensitiveString Id
Attachment ID
CaseInsensitiveString LegalId
Legal ID of uploader of attachment