string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
More Related Contents:
- How do I detect when a directory or file changes without constant scanning
- How do I check if a given string is a legal/valid file name under Windows?
- Unique file identifier in windows
- Path.Combine absolute with relative path strings
- How do I find the parent directory in C#?
- How can I find the size of all files located inside a folder?
- Can you call Directory.GetFiles() with multiple filters?
- How to detect Windows 64-bit platform with .NET?
- How can I run an EXE program from a Windows Service using C#?
- How to detect Windows shutdown or logoff
- How to avoid a Win32 exception when accessing Process.MainModule.FileName in C#?
- How to request administrator permissions when the program starts?
- Detect Antivirus on Windows using C# [closed]
- How do I delete a directory with read-only files in C#?
- Virtual webcam input as byte stream
- How to check the OS version at runtime, e.g. on Windows or Linux, without using a conditional compilation statement
- Accordion in Windows Forms DataGridView
- Launching a process in user’s session from a service
- Can I get Memcached running on a Windows (x64) 64bit environment?
- Winforms issue – Error creating window handle [duplicate]
- Launch a process under another user’s credentials
- Can’t see localhost from UWP app
- Can I simply ‘read’ a file that is in use?
- Set environment variables for a process
- DotNetZip add files without creating folders
- How to get current windows username from windows service in multiuser environment using .NET
- Uninstall Custom Action Not Deleting Registry Key
- Renaming a directory in C# [closed]
- Send message to a Windows process (not its main window)
- Print html document from Windows Service in C# without print dialog