public static Desktop GetCurrent() { // get the desktop. return new Desktop(GetThreadDesktop(GetCurrentThreadId())); }