Пример #1
0
        private static bool IsKnownWindows10Exception(WindowEntry window)
        {
            if (window.ProcessName == "MicrosoftEdge")
            {
                return(true);
            }

            if (window.ProcessName == "MicrosoftEdgeCP")
            {
                if (window.Title == "CoreInput")
                {
                    return(true);
                }

                if (window.Title == "about:tabs")
                {
                    return(true);
                }
            }

            return(false);
        }
Пример #2
0
 private static void LogDebugWindow(string message, WindowEntry window, string className)
 {
     Log.Debug(message + window + ", Class: " + className);
 }
	    private static void LogDebugWindow(string message, WindowEntry window, string className)
	    {
			Log.Debug(message + window + ", Class: " + className);
	    }
	    private static bool IsKnownWindows10Exception(WindowEntry window)
	    {
		    if (window.ProcessName == "MicrosoftEdge")
			    return true;

		    if (window.ProcessName == "MicrosoftEdgeCP")
		    {
			    if (window.Title == "CoreInput")
				    return true;

				if (window.Title == "about:tabs")
					return true;
		    }

		    return false;
	    }