ResQ.Storage
UploadResult Class
Represents the result of a file upload operation to IPFS.Example
Remarks
This record contains all relevant information about an uploaded file, including its Content Identifier (CID), metadata, and pin status. The CID is the permanent address of the file on the IPFS network.| Constructors | |
|---|---|
| UploadResult(string, string, long, string, bool, DateTimeOffset) | Represents the result of a file upload operation to IPFS. |
| Properties | |
|---|---|
| Cid | The IPFS Content Identifier (CID) for the uploaded file. |
| ContentType | The MIME type of the file (e.g., “image/jpeg”, “video/mp4”). |
| FileName | The original filename of the uploaded content. |
| IsPinned | True if the file has been pinned to ensure persistence. |
| SizeBytes | The size of the file in bytes. |
| Timestamp | UTC timestamp when the upload completed. |