Skip to content

UsnJrnl Class

Jared Atkinson edited this page Nov 5, 2015 · 5 revisions

Syntax

public class UsnJrnl
{
    // Properties
    public readonly string VolumePath;
    public readonly Version Version;
    public readonly ulong RecordNumber;
    public readonly ushort FileSequenceNumber;
    public readonly ulong ParentFileRecordNumber;
    public readonly ushort ParentFileSequenceNumber;
    public readonly ulong Usn;
    public readonly DateTime TimeStamp;
    public readonly USN_REASON Reason;
    public readonly USN_SOURCE SourceInfo;
    public readonly uint SecurityId;
    public readonly StandardInformation.ATTR_STDINFO_PERMISSION FileAttributes;
    public readonly string FileName;

    // Static Methods
    public static UsnJrnl Get(string path, ulong usn)
    public static UsnJrnl[] GetInstances(string volume)
    public static UsnJrnl[] GetInstancesByPath(string path)

    // Instance Methods
    public FileRecord GetFileRecord()
    public FileRecord GetParentFileRecord()

    // Override Methods
    public override string ToString()
}

Properties

VolumePath - 
Version - 
RecordNumber - 
FileSequenceNumber - 
ParentFileRecordNumber - 
ParentFileSequenceNumber - 
Usn - 
TimeStamp - 
Reason - 
SourceInfo - 
SecurityId - 
FileAttributes - 
FileName - 

Methods

Name Description
Get(string, ulong)
GetInstances(string)
GetInstancesByPath(string)
GetFileRecord()
GetParentFileRecord()
ToString()

Home

Getting Started

Documentation

Cmdlets

Clone this wiki locally