As far as whether the sim you used is legal to count towards your ratings...
You need two things...
The make and model sim/FTD must be approved by the FAA for those purposes.
Additionally, the sim in question must be maintained and function properly. A sim operator is required to display an approval certificate from the FSDO, it is usually found in a frame on the wall. This cert is only valid for one or two years (I forget), and must be renewed.
If you are logging sim/FTD time to apply towards a rating, I would make and keep a photocopy of that certificate (check the date!)