But with WPF, if it is called from a non-UI thread, Environment.UserInteractive will return true, but it will throw an InvalidOperationException ("The calling thread cannot access this object because ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results