C# Finding the Desktop Path

The following code is used to find the desktop path in C#...


string dPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);       



You May Interest

C# Finding the Path to the Windows System32 Folder

C# Non-Restart Check If Application is Open

C# Getting Today's Date

C# Finding the Path to the Windows Folder

C# Generating Random Letters