예제 #1
0
        private static IntPtr Create()
        {
            IntPtr  precodePtr = Precode.DetectPrecode.GetPrecodePtr();
            Precode precode    = Precode.Create(precodePtr);

            return(precode.TargetPtr);
        }
예제 #2
0
        public Precode GetPrecode()
        {
            if (!HasPrecode)
            {
                throw new InvalidOperationException("Method does not have a precode.");
            }

            if (_precode == null)
            {
                _precode = Precode.Create(Address);
            }

            return(_precode);
        }