Interface IFile
- Namespace
- NuvTools.Storage
- Assembly
- NuvTools.Storage.dll
Represents a file with its metadata and content in various formats.
public interface IFile
- Extension Methods
Properties
Base64String
Gets the file content as a Base64-encoded string, if available.
string? Base64String { get; }
Property Value
Content
Gets the file content as a stream, if available.
Stream? Content { get; }
Property Value
Name
Gets the name of the file.
string Name { get; }
Property Value
Type
Gets the MIME type of the file (e.g., "text/plain", "image/jpeg").
string Type { get; }
Property Value
Uri
Gets the URI location of the file in storage, if available.
Uri? Uri { get; }