DkmFileInfo Class

Definition

Contains basic information about a file which is returned from DefaultPort.DkmTransportConnection.GetFileListing.

C++/CX
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmFileInfo
Inheritance
DkmFileInfo
Attributes

Properties

Attributes

Win32 File attribute values (ex: FILE_ATTRIBUTE_DIRECTORY (0x10)).

CreationTime

Time the the file was created in FILETIME units (number of 100-nanosecond intervals since January 1, 1601 (UTC)).

FileName

Name of the file or sub directory. This name does not contain the directory (ex: example.txt instead of c:\folder\example.txt).

FilePath

Full path to the file or sub directory (ex: c:\folder\example.txt).

FileSize

Size of the file in bytes.

LastAccessTime

Time the file was accessed in FILETIME units (number of 100-nanosecond intervals since January 1, 1601 (UTC)).

LastWriteTime

Time the file was written to in FILETIME units (number of 100-nanosecond intervals since January 1, 1601 (UTC)).

Methods

Create(String, String, Int32, UInt64, UInt64, UInt64, UInt64)

Create a new DkmFileInfo object instance.

Applies to

Produkt Verzie
Visual Studio SDK 2015, 2017, 2019, 2022