Controlling TPM with C#
Asked Answered
S

3

7

I am trying to

  • initialize the TPM
  • set an owner
  • create AIKs

Any help/link would be appreciated.

Subtorrid answered 25/9, 2010 at 20:1 Comment(0)
R
6

Read MSDN.
TBS Reference: http://msdn.microsoft.com/en-us/library/aa446794(VS.85).aspx
Using TBS: http://msdn.microsoft.com/en-us/library/ms725663(v=VS.85).aspx
TBS Base Services: http://msdn.microsoft.com/en-us/library/aa446796(VS.85).aspx

You may also want to look at this article from MS about TPM, some of them with sample code:
Overview of TPM Management
http://technet.microsoft.com/en-us/library/cc730635.aspx

Trusted Platform Module Management Step-by-Step Guide
http://technet.microsoft.com/en-us/library/cc749022(WS.10).aspx

Understanding Keys and Passwords Used by the TPM
http://technet.microsoft.com/en-us/library/cc755038.aspx

Rosenblatt answered 27/9, 2010 at 14:47 Comment(1)
The question was about C#. Those links are all about TBS, a C++ library.Narva
N
5

It looks like Microsoft's TPM library for C++ ('TBS') has no equivalent in .Net, but there's an external library from Microsoft that provides a binding - TSS.Net

The documentation lives in a .docx file.

Narva answered 6/6, 2018 at 11:41 Comment(0)
B
2

It's a really old question...

But, for anyone looking for it now-days, There's a C# solution for TPM 2.0 in GitHub:

https://github.com/ms-iot/security/tree/master/Limpet

Botsford answered 15/1, 2020 at 16:17 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.