Meziantou.Framework.Win32.ChangeJournal
3.2.2
Prefix Reserved
dotnet add package Meziantou.Framework.Win32.ChangeJournal --version 3.2.2
NuGet\Install-Package Meziantou.Framework.Win32.ChangeJournal -Version 3.2.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meziantou.Framework.Win32.ChangeJournal" Version="3.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Meziantou.Framework.Win32.ChangeJournal --version 3.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Meziantou.Framework.Win32.ChangeJournal, 3.2.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Meziantou.Framework.Win32.ChangeJournal as a Cake Addin #addin nuget:?package=Meziantou.Framework.Win32.ChangeJournal&version=3.2.2 // Install Meziantou.Framework.Win32.ChangeJournal as a Cake Tool #tool nuget:?package=Meziantou.Framework.Win32.ChangeJournal&version=3.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Meziantou.Framework.Win32.ChangeJournal
Meziantou.Framework.Win32.ChangeJournal
helps you read the change journal of a volume. The change journal is a database that contains a list of every change made to the files or directories on the volume. You can use this library to monitor changes made to files and directories on the volume. You can also use it to manipulate the change journal (e.g. Create, Delete, enable change tracking).
Get the last record for a file
var entry = ChangeJournal.GetEntry(@"D:\test.txt");
Get all records
using var changeJournal = ChangeJournal.Open(new DriveInfo("D:"), unprivileged: false);
foreach (var change in changeJournal.GetEntries(ChangeReason.All, returnOnlyOnClose: false, Timeout.InfiniteTimeSpan))
{
if (change is ChangeJournalEntryVersion2or3 changev2)
{
}
else if (change is ChangeJournalEntryVersion4 changev4)
{
}
}
Get all records from a USN
foreach (var change in changeJournal.GetEntries(entry.UniqueSequenceNumber, ChangeReason.All, returnOnlyOnClose: false, Timeout.InfiniteTimeSpan))
{
}
Create / Delete / Enable change tracking
changeJournal.Create(maximumSize: 10_000_000, allocationDelta: 1_000_000);
changeJournal.EnableTrackModifiedRanges(chunkSize: 10_000, fileSizeThreshold: 100_000_000);
changeJournal.Delete();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.2.2 | 105 | 12/17/2024 |
3.2.0 | 84 | 12/16/2024 |
3.1.1 | 88 | 12/16/2024 |
3.1.0 | 71 | 12/16/2024 |
3.0.0 | 82 | 12/16/2024 |
2.1.0 | 90 | 12/15/2024 |
2.0.4 | 89 | 11/17/2024 |
2.0.3 | 232 | 11/15/2023 |
2.0.2 | 445 | 7/14/2021 |
2.0.1 | 387 | 4/22/2021 |
2.0.0 | 444 | 9/24/2020 |
1.0.6 | 496 | 6/25/2020 |
1.0.5 | 528 | 10/23/2019 |
1.0.4 | 540 | 7/27/2019 |
1.0.3 | 681 | 12/11/2018 |
1.0.2 | 741 | 10/21/2018 |
1.0.0 | 1,006 | 5/26/2018 |