public void Unsubscribe(FileCheckerProcess handler) { try { if (OnProcess.GetInvocationList().Contains(handler)) { OnProcess -= handler; } } catch (NullReferenceException) { } }