Code:
/// <summary>
/// Gets the current wallpaper path.
/// </summary>
/// <returns>the wallpaper path</returns>
private static string GetCurrentWallpaperPath()
{
RegistryKey wallPaper = Registry.CurrentUser.OpenSubKey("Control Panel\\Desktop", false);
string WallpaperPath = wallPaper.GetValue("WallPaper").ToString();
wallPaper.Close();
return WallpaperPath;
}
Like my past few threads, idk who wrote these, I had them saved to text docs.