VirtualFile

Description

sealed class Tinman.Core.IO.Files.VirtualFile

Derived from

FileBase abstract

A file in a VirtualFileSystem.

Public / Methods

Bytes​Reset


public method BytesReset → ()

Resets the byte counters for this file.

Public / Attributes

Bytes​Read


public attribute BytesRead → (get)

value : int64

[>=0]
The number of read bytes.

Returns the number of bytes that have been read from this file.

Bytes​Total


public attribute BytesTotal → (get)

value : int64

[>=0]
The number of read and written bytes.

Returns the number of bytes that have been read from or written to this file.

Bytes​Written


public attribute BytesWritten → (get)

value : int64

[>=0]
The number of written bytes.

Returns the number of bytes that have been written to this file.

Is​Http


public attribute IsHttp → (get)

value : bool

true if this file is streamed via HTTP or HTTPS, false if not.

Is this virtual file being streamed from the web?

Last​Access


public attribute LastAccess → (get)

value : int64

The timestamp (see LicenceUtil.SystemTime).

Timestamp of most recent access to this file (i.e. IFile.Read or IFile.Write).