Example #1
0
        /// <summary>
        /// Attaches to target process.
        /// This should automatically continue the process if it is stopped.
        /// </summary>
        public bool Attach()
        {
            if (_ccapi == null)
            {
                _ccapi = new CCAPI();
            }

            return(_ccapi.AttachProcess(CCAPI.ProcessType.CURRENTGAME) >= 0);
        }