获取桌面路径

string dir = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);

原文地址:https://www.cnblogs.com/xianerwonder/p/4427386.html