c# - How to get the name of the select wallpaper -


how can name of current desktop wallpaper in windows, using c#?

something this?

var wpreg = registry.currentuser.opensubkey( "control panel\\desktop", false ); var wallpaperpath = wpreg.getvalue( "wallpaper" ).tostring(); wpreg.close(); 

from path can extract filename ...


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -