Skip to main content

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

NameDescription
MimeTypeGets the MIME type of the file content.
LengthGets the size of the file content in bytes.

Constructors

NameDescription
FileContentInfo(mimeType, length)Initializes a new instance of the FileContentInfo class with the specified MIME type and length.