I have written this code which gathers all details about applications installed on the computer and writes them to a file. I first used getfileversionsize to allocate the required memory then used getfileversioninfo and verqueryvalues to get the different information I am passing the identifier string e.g. "companyName","productVersion" etc.to a separate function which writes to the output file. How do I get the Licence Number for a application using above or any other Win32 API. Is it available in the same data block that Getfileversioninfo writes to, then what is Identifier?