Where does Magento Connect Manager store version numbers?

The Magento Connect Manager’s version numbers are stored in serialized form in the file /downloaderinside the directory (which should be renamed for security reasons) cache.cfg . You can read that file using the following code:

Changing the data stored…