title: MiFare - Difference between UID and Serial Number of MiFare Card
body: <p>I need to read serial number of MiFare card usin WinSCard. I am able to read 7B UID from the MiFare card.</p>
  
  <blockquote>
    <p>The confusion is that i dont know if the UID and the serial number of
    MiFare card are same?!!</p>
  </blockquote>
  
  <p>I have googled the issue but only could get partial success. I found a <a href="https://stackoverflow.com/questions/16856620/get-mifare-card-serial-number-with-winscard-library">question</a> on stackoverflow also but it did not help.</p>
  
  <p>I found a <a href="http://www.nxp.com/documents/application_note/AN10927.pdf" rel="noreferrer">document</a> of NXP online which says UID and serial number are different. (on page number 3, line number 5)</p>
  
  <p>There is an application of OmniKey that reads the serial number of the card, and it also returns UID only.</p>
  
  <p>NXP documentation says <strong>UID &lt;> Serial Number</strong> and a other standard OmniKey application returns <strong>UID as Serial Number</strong>.</p>
  
  <p>I have started pulling my hair off on the issue. I'd greatly appreciate if anyone could help.  </p>