even if you do get a free upgrade you have to register for it. Head to the microsoft website, there is a thing called express upgade on the front page, click that and enter your computer code, this should possibly tell you if you are eligble or not.
EDIT,
This is the website here to know if your PC is eligible.