public void I2CClose(int handle) { short ret = PiGpioNativeMethods.I2CClose((ushort)handle); if (ret < 0) { throw new PiGPIOException(ret); } }