Esempio n. 1
0
        private bool IsLeagueOrOverlayActive()
        {
            string currentActiveProcessName = ProcessHelper.GetActiveProcessName();

            return(currentActiveProcessName.Contains("League of Legends") || currentActiveProcessName.Contains("TFT Overlay"));
        }
Esempio n. 2
0
        private static bool IsLeagueOrOverlayActive()
        {
            var currentActiveProcessName = ProcessHelper.GetActiveProcessName();

            return(currentActiveProcessName == "League of Legends" || currentActiveProcessName == "TFT Overlay");
        }