public void DeviceSetPropertyBool(NfcProperty property, bool enable) { var result = Libnfc.DeviceSetPropertyBool(devicePointer, property, enable); if (result < 0) { Perror("nfc_device_set_property_bool"); throw new Exception("nfc_device_set_property_bool"); } }
public void SetProperty(NfcProperty property, bool value) { NfcError err = NativeMethods.device_set_property_bool(this.handle, property, value); NfcException.Raise(err); }
public static extern NfcError device_set_property_int(IntPtr device, NfcProperty property, int value);
public static extern NfcError device_set_property_bool(IntPtr device, NfcProperty property, bool value);
public static extern int DeviceSetPropertyBool(IntPtr pnd, NfcProperty property, bool bEnable);