23.12.2012 Views

Digital Forensics in Small Devices: RFID Tag Investigation

Digital Forensics in Small Devices: RFID Tag Investigation

Digital Forensics in Small Devices: RFID Tag Investigation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}<br />

}<br />

else<br />

{<br />

}<br />

tmrHalfSec.Enabled = true;<br />

lst<strong>Tag</strong>IDs.Items.Clear();<br />

txtNumDownloaded.Text = 0.ToStr<strong>in</strong>g();<br />

catch (Exception ex)<br />

{<br />

}<br />

MessageBox.Show(ex.Message);<br />

f<strong>in</strong>ally<br />

{<br />

}<br />

this.Cursor = Cursors.Default;<br />

MessageBox.Show(this, "Reader already connected!", "Example1",<br />

MessageBoxButtons.OK, MessageBoxIcon.Information);<br />

}<br />

}<br />

private void btnDisConnect_Click(object sender, EventArgs e)<br />

{<br />

this.Cursor = Cursors.WaitCursor;<br />

if (hReader != IntPtr.Zero)<br />

{<br />

usb<strong>RFID</strong>.Close(hReader);<br />

hReader = IntPtr.Zero;<br />

usb<strong>RFID</strong>.OnConnectionLost -= OnConnectionLost;<br />

usb<strong>RFID</strong>.OnAsyncRead -= OnAsyncRead;<br />

26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!