public rfid.Constants.Result store ( rfid.Linkage transport, UInt32 readerHandle ) { // There is no save for the antennaPortStatus in lower library but // there is a set state so use that here! rfid.Constants.Result Result = transport.API_AntennaPortSetState(this.port, this.antennaPortStatus.state); if (rfid.Constants.Result.OK != Result) { Console.WriteLine("Error while saving antennaPortStatus.state"); } return(Result); }