DSN is to monitor disk serial number

can i know how the return value can be readen from 16f688 and doing a comparison ?

i am using c language writing the software

is they any sample i can refer?