private bool isProfilerLoaded(int pid)
        {
            NamedManualResetEvent forceGCEvent = new NamedManualResetEvent(string.Format("{0}_{1:x8}", "Global\\OMV_ForceGC", pid), false, false);
            bool result = forceGCEvent.IsValid();

            forceGCEvent.Dispose();
            return(result);
        }
 private bool isProfilerLoaded(int pid)
 {
     NamedManualResetEvent forceGCEvent = new NamedManualResetEvent(string.Format("{0}_{1:x8}", "Global\\OMV_ForceGC", pid),						false, false);
     bool result = forceGCEvent.IsValid();
     forceGCEvent.Dispose();
     return result;
 }