Invoke(object input) { var InitMifareBackEnd = new MifareAPI.InitReader(); ISmartCardReader WebReader = InitMifareBackEnd.RunInitReader(); WebReader = InitMifareBackEnd.RunInitReader(); return(WebReader.PcscReaderName); }
Invoke(dynamic input) { byte _input = Byte.Parse(input, NumberStyles.HexNumber); var _read = new MifareAPI.ReadMifareClassic1k(); var InitMifareBackEnd = new MifareAPI.InitReader(); ISmartCardReader WebReader = InitMifareBackEnd.RunInitReader(); WebReader = InitMifareBackEnd.RunInitReader(); return(_read.RunReadMifare(_input)); }
Invoke(dynamic input) { var _write = new MifareAPI.UpdateMifareClassic1k(); var InitMifareBackEnd = new MifareAPI.InitReader(); string _input = (string)input._input; byte _blockinput = Byte.Parse(input._blockinput, NumberStyles.HexNumber); ISmartCardReader WebReader = InitMifareBackEnd.RunInitReader(); WebReader = InitMifareBackEnd.RunInitReader(); return(_write.RunWriteMifare(_input, _blockinput)); }