Skip to content

FileInfoDto

Namespace: MJCZone.MediaMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.MediaMatic.AspNetCore

Summary

Represents file information returned by browse operations.

sealed public

Contents

Constructors (1) | Methods (4) | Properties (6)

Constructors

FileInfoDto

csharp
FileInfoDto()

Methods

GetType

csharp
GetType()

ToString

csharp
ToString()

Equals

csharp
Equals()

GetHashCode

csharp
GetHashCode()

Properties

Path

Gets or sets the full path of the file.

Type: string

Name

Gets or sets the file name (without directory path).

Type: string

Size

Gets or sets the file size in bytes.

Type: long?

LastModified

Gets or sets the last modified timestamp.

Type: DateTimeOffset?

Extension

Gets or sets the file extension (e.g., ".jpg", ".pdf").

Type: string?

Category

Gets or sets the file category based on extension (e.g., "image", "video", "document").

Type: string?