FileContentInfo
Represents metadata about a file's content, including its MIME type and size.
This class encapsulates essential information about a file's content, providing read-only access to the file's MIME type and length. It is used to describe the characteristics of file content without containing the actual content itself.
Properties
| Name | Description |
|---|---|
| Length | Gets the size of the file content in bytes. |
| MimeType | Gets the MIME type of the file content. |
Constructors
| Name | Description |
|---|---|
| FileContentInfo(mimeType, length) | Initializes a new instance of the FileContentInfo class with the specified MIME type and length. |