/// <summary> /// Check for window's name list /// </summary> private void ScanWindowsName() { try { //Check with FindWindows foreach (MemoryProtector.Protected_String Wd in BlackListedWindows) { IntPtr Handle = WindowsMgr.FindMainWindow(null, Wd.Get_String()); if (Handle != IntPtr.Zero) { //Found Found(hibProcess.GetProcessIdFromWindow(Handle)); } Handle = IntPtr.Zero; } } catch { new CloseApp(); } }