예제 #1
0
        public static new bool TryCreate(out ProcessDebugManagerWrapper wrapper)
        {
            IProcessDebugManager64 processDebugManager;
            if (MiscHelpers.TryCreateCOMObject("ProcessDebugManager", null, out processDebugManager))
            {
                wrapper = new ProcessDebugManagerWrapper64(processDebugManager);
                return true;
            }

            wrapper = null;
            return false;
        }
예제 #2
0
        public static bool TryCreate(out ProcessDebugManagerWrapper wrapper)
        {
            if (Environment.Is64BitProcess)
            {
                return ProcessDebugManagerWrapper64.TryCreate(out wrapper);
            }

            return ProcessDebugManagerWrapper32.TryCreate(out wrapper);
        }