ResQ.Blockchain
EvidenceRecord Class
Represents evidence metadata linked to IPFS storage.Example
Remarks
Evidence records link incidents to their associated evidence stored on IPFS. The hash field provides a content verification mechanism to ensure evidence integrity when retrieved from IPFS.| Constructors | |
|---|---|
| EvidenceRecord(string, string, string, long, string) | Represents evidence metadata linked to IPFS storage. |
| Properties | |
|---|---|
| ContentType | MIME type of the evidence (e.g., “image/jpeg”, “video/mp4”). |
| Hash | Cryptographic hash of the evidence content for verification. |
| IncidentId | ID of the incident this evidence belongs to. |
| IpfsCid | IPFS Content Identifier for the evidence file. |
| SizeBytes | Size of the evidence file in bytes. |