get desktop dir in C# code example Example: c# get desktop path Environment.GetFolderPath(Environment.SpecialFolder.Desktop);