Пример #1
0
        internal static HookedProcess GetInstance()
        {
            lock (SyncCreateInstance)
            {
                if (Instance != null)
                {
                    return(Instance);
                }

                Instance        = new HookedProcess();
                RotRegistration = new RotRegistration(IpcConstants.GetRotMonikerName(Process.GetCurrentProcess().Id), Instance);

                return(Instance);
            }
        }
Пример #2
0
 public MdiHookTarget()
 {
     HookedProcess.GetInstance();
 }