Microsoft.TSS
TSS.Net is a crossplatform .Net library that provides convenient abstraction layer for the binary TPM 2.0 interface in various Windows and Linux environments. TSS.Net greatly simplifies writing code that interacts with TPM 2.0 devices by providing both low level 1-to-1 mapping for TPM 2.0 commands, and higher level abstractions that free the developer from the necessity of writing hundreds lined of code to marshaling TPM data structures or perform operations often involving cryptography such as handling various types of TPM sessions, or migrating keys between software crypto and TPM 2.0 devices. TSS.Net library can also work with the Microsoft TPM simulator (https://github.com/Microsoft/ms-tpm-20-ref) to enable application development and debugging on platforms that do not have a physical TPM 2.0 device.
Install
dotnet add package Microsoft.TSS --version 2.1.1
Install-Package Microsoft.TSS -Version 2.1.1
<PackageReference Include="Microsoft.TSS" Version="2.1.1" />
Frameworks
No framework metadata available.
Dependencies
No declared dependencies.
Adoption guide
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.