Click here to Skip to main content
16,022,417 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

i am looking for an API which is able to work with TPMs built into any modern motherboard / notebook nowadays.
What i want is to get least an AIK - Key (Certificate) out of it. Of course it would be perfect if i could:

- Innitialize the TPM
- Set the Owner
- Key Management
- Certificate retrival

Is there anything for .NET / C#?
Posted

1 solution

Hi use the namespace using System.Management;
Visit this site for further information
 
Share this answer
 
Comments
magnat69 21-Jul-10 17:02pm    
Hi,

thanks for the answer, i was looking at the WMI classes already namely:

root/CIMv2/Security/MicrosoftTpm:Win32_Tpm

Yet this sports only a handfull of information i can retrive, like:

- TPM activated
- TPM enabled
- TPM owned
- Manufacturer ID
- Manufacturer Version
- Manufacturer Version Info
etc...

I am not able to interact with it, only ask some basic questions via WMI. Anyone has an other helpful link which would lead me to the right path on how to command/speak with a TPM?
I am looking for something similar like "Trousers" which is available for Linux systems.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900