private static IntPtr Create() { IntPtr precodePtr = Precode.DetectPrecode.GetPrecodePtr(); Precode precode = Precode.Create(precodePtr); return(precode.TargetPtr); }
public Precode GetPrecode() { if (!HasPrecode) { throw new InvalidOperationException("Method does not have a precode."); } if (_precode == null) { _precode = Precode.Create(Address); } return(_precode); }