Skip to main content
net10.0net11.0

.NET wrapper for Windows Recent Documents

Published
Oct 28, 2026
20d ago
Total Downloads
54.6K
54,588

Install

dotnet add package Meziantou.Framework.Win32.RecentDocuments --version 2.0.8
ProductVersions
.NET
net10.0net11.0

README

Meziantou.Framework.Win32.RecentDocuments

Meziantou.Framework.Win32.RecentDocuments is a wrapper for manipulating recent documents in Windows.

// Add a document to Recent Items and to the Jump List of the current application.
// A relative path is resolved against the current directory.
Meziantou.Framework.Win32.RecentDocuments.AddToRecentDocuments(@"C:\Users\Public\Documents\file.txt");

// Add a document to the Jump List of the application identified by an AppUserModelID (Windows 7+).
// Use it when the application sets an explicit AppUserModelID, or runs through "dotnet app.dll".
Meziantou.Framework.Win32.RecentDocuments.AddToRecentDocuments(@"C:\Users\Public\Documents\file.txt", "Company.Product.App");

// Warning: clears Recent Items and the Recent/Frequent lists of every application's Jump List, not only yours.
Meziantou.Framework.Win32.RecentDocuments.ClearRecentDocuments();

Executable (.exe) files are accepted but never appear in Recent Items, and folders only appear in the File Explorer Jump List.

Changes from Previous Version

No structural changes between v2.0.7 and v2.0.8.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.