public static void MarkFullscreenWindow(bool Fullscreen = true) { if (taskbarSupported && hWnd != IntPtr.Zero) { taskbarInstance.MarkFullscreenWindow(hWnd, Fullscreen); } }