Skip to main content

ResQ.Blockchain.EvidenceRecord

EvidenceRecord(string, string, string, long, string) Constructor

Represents evidence metadata linked to IPFS storage.

Parameters

IncidentId System.String ID of the incident this evidence belongs to. IpfsCid System.String IPFS Content Identifier for the evidence file. ContentType System.String MIME type of the evidence (e.g., “image/jpeg”, “video/mp4”). SizeBytes System.Int64 Size of the evidence file in bytes. Hash System.String Cryptographic hash of the evidence content for verification.

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.