public static bool CheckAccess () { return Thread.CurrentThread == DependencyObject.moonlight_thread; }