连接到 TPM

问题描述

我在尝试与 TPM 建立连接时收到“无法创建 TBS 上下文:错误 {TbsTpmNotFound}”异常。 TSS.Net 是我使用的 API,应用程序在管理员模式下运行。

TPM 芯片物理连接到我的系统。虽然故障排除 UEFI 可以检测到相同。请找到我用于 TPM 连接的以下代码

using System;         
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using Tpm2Lib;

namespace TPMTrial
{
    class Program
    {
        static void Main(string[] args)
        {
            Tpm2Device tpmDevice = new TbsDevice();
            tpmDevice.Connect();
        }
    }
}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)