Share via


DkmFileInfo Class

Definition

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

public ref class DkmFileInfo
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmFileInfo
[Windows::Foundation::Metadata::WebHostHidden]
class DkmFileInfo
[System.Runtime.InteropServices.Guid("c255d11c-e40f-9be0-11ac-0f5da8427782")]
public class DkmFileInfo
[<System.Runtime.InteropServices.Guid("c255d11c-e40f-9be0-11ac-0f5da8427782")>]
type DkmFileInfo = class
Public 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