Write a program that will use the PC/SC interface, list the smardcard readers, allow you to choose one and connect to the card in that reader. Then send command to Select AID (00 A4 04 0C 07 A0 00 00 02 47 10 01) and then select and read a file (Long file identifier 01 0E, short identifier 0E). Read the whole file in the smart card (called the elementary file) and save it to a disk file. To find out the length of the file use the information about the file structure in the ASN.1 TLV form. Use e.g. the following commands: Select AID (00 A4 04 0C 07 A0 00 00 02 47 10 01) 90 00 ( Normal Processing. ) Select File 01 0E (00 A4 02 0C 02 01 0E) 90 00 ( Normal Processing. ) Read Binary - read the first 6 bytes to see the start of the TLV structure and calculate the length: 00 B0 00 00 06 6E 82 01 B8 31 82 90 00 The total length is 440+4=444 bytes. Then read the file in a few steps: 00 B0 00 06 00 01 B4 30 82 01 B0 06 .... 90 00