public BodyFrame AcquireLatestFrame()
        {
            IntPtr ptr = IntPtr.Zero;
            var    hr  = ComPointer.AcquireLatestFrame(out ptr);

            if (hr != 0)
            {
                throw new Exception(hr.ToString());
            }

            return(new BodyFrame(ptr));
        }
 public ColorFrame AcquireLatestFrame()
 {
     return(new ColorFrame(ComPointer.AcquireLatestFrame()));
 }