I'm currently making a project where I want to use my Windows 10 phone featuring NFC to read the UID/serial number of a smart card to find the ID of a person. The card I'm trying to get the UID/serial number from is an NXP MIFARE DESFire EV1. The ID I'm looking for is printed on the card and I managed to access it using my friend's phone with an Android app which means that the number is accessible although I don't know how.
I'm able to send APDU commands to the card but I don't know which one to use to get the UID/serial number I'm looking for.
What APDU commands do I need to send to the card to obtain the ID? The ID I'm looking for is 7 bytes long.