I am programming a Windows Form Application and I need to programmatically get back to the Desktop.
I tried this code, but it is not working:
using System;
using System.Windows.Forms;
private void ToggleDesktop() {
SendKeys.Send("^({ESC}D)"); //<-- Semantic error, Should simulate: WIN+D
}
Is there a possibility to do that?