FAQ

How long should my Objects live?

This is up to you. When you need a Object, fetch it from the TssFactory?, when you are done, throw it away.

Can you handle multiple Threads?

No. The TPM itself does not like parallel requests, and there are some things which cannot be done in parallel like hashing files.

So you should only issue commands to a TPM from one thread or serialize all your requests in your application.