I have a machine with TPM and I am running windows 7 on it. I have a piece of code and I want to get run it and get the PCR register values at that time. How can I do that?
Secondly, if i run the same code on other machine can I get the same PCR values? If I cannot then is there anyway to get it?
-------------- EDITED version Below----------------------
The Scenario is as follows, I have an executable code written in C++ (for example a simple card game). I want to run this file on my computer. I want to get the PCR values. Windows platform has 24 PCR register, Now which register has the hash of my running file (game)?