public static extern Result RFID_RadioSetPowerState ( [In] Int32 handle, [In] RadioPowerState state );
public static extern Result RFID_RadioGetPowerState ( [In] Int32 handle, [In, Out] ref RadioPowerState state );
private void RadioSetPowerState(int radioHandle, RadioPowerState powerState) { Result result = link.RadioSetPowerState(radioHandle, powerState); logger.Information("link.RadioSetPowerState ( {PowerState} ) => {Result}", powerState, result); }