Exemplo n.º 1
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     finder = new ABnoteSAMFinder();
     finder.SAMFound += new SAMFoundEventHandler(finder_SAMFound);
     finder.FindCard();
 }
Exemplo n.º 2
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     finder = new ABnoteSAMFinder();
     finder.FindAnyCard = true;
     finder.SAMFound += new SAMFoundEventHandler(finder_SAMFound);
     if (!finder.FindCard())
     {
         MessageBox.Show("No PCSC readers were detected");
     }
 }