Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WindowsAPICodePack.Shellを使ってライブラリのDefaultSaveFolderを取得する
using System;
using Microsoft.WindowsAPICodePack.Shell;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
using (var lib = ShellLibrary.Load(KnownFolders.PicturesLibrary, true))
{
Console.WriteLine(lib.DefaultSaveFolder);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.