You can use the Windows API Code Pack for Microsoft .NET Framework.
Reference: Microsoft.WindowsAPICodePack.Shell.dll
Need the following namespace:
using Microsoft.WindowsAPICodePack.Shell;
Simple usage:
string downloadsPath = KnownFolders.Downloads.Path;
请发表评论