WSF

A Windows Shell data provider to support applications similar to Windows Explorer

MIT License

Stars
19
Committers
2

Windows Shell Foundation (WSF)

This project implements an open source Windows Shell data provider, which is necessary to display information related to the Windows system structure in an Application. This library is the core of a Metro Breadcrumb control implemented in a different project.

This implementation targets Windows 10 but should also be good for support on Vista and later (Windows 7-8).

Parts of this project were originally developed by Leung Yat Chun Joseph lycj in his FileExplorer application originating from CodePlex and CodeProject.

The implementation of the Windows Shell Foundation in this WSF project is based on LYCJ's interfaces but completely refactored in terms of models and classes using SharpShell as a base of most things that are there.

Finding all children (eg: 'This PC') under the Desktop root is as complicated as this:

using WSF;
using WSF.IDs;

foreach (var item in Browser.GetChildItems(KF_IID.ID_FOLDERID_Desktop))
{
    Console.WriteLine("Name '{0}' SpecialPathId '{1}' PathFileSystem '{2}'",
        item.Name, item.SpecialPathId, item.PathFileSystem);
}

The Name attribute is localized (it should be "This PC" in English and "Dieser PC" in German).

More information about the Windows Shell.

Badges
Extracted from project README
Codacy Badge Build status Release NuGet
Related Projects