Esempio n. 1
0
 private async Task <Tuple <string, byte> > GetId()
 {
     return(await Task.Run(async() =>
     {
         byte res;
         res = await rfidReader.VerifyPassword(null);
         res = await rfidReader.ReadSectorData(null);
         return new Tuple <string, byte>(rfidReader.ReadData, res);
     }));
 }
Esempio n. 2
0
 private async void button10_Click_1(object sender, EventArgs e)
 {
     await rfidReader.VerifyPassword(null);
 }