Skip to content
/ WSF Public
forked from Dirkster99/WSF

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

License

Notifications You must be signed in to change notification settings

RaphaelK12/WSF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge Build status Release NuGet

Net4 NetCore3

Windows Shell Foundation (WSF)

 Overview

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.8%
  • Batchfile 0.2%