1.检测密钥

描述:

请求方式:POST; 返回数据格式:XML;

示例:

示例1 https://pkeytool.com/api/CK?k=BBBBB-BBBBB-BBBBB-BBBBB-BBBBB
示例2 https://pkeytool.com/api/CK?k=BBBBB-BBBBB-BBBBB-BBBBB-BBBBB&coem=0&skipdb=0&getsimp=0&makcode=0&cindex=0

请求格式:

参数名 数据类型 参数说明 有效值 是否可选 备注
k string 需要检测的密钥 符合微软密钥组合规则的字符串 可添加多个,上限50个
coem int 尝试检测OEM密钥的次数 0 (默认值)不检测
1 检测
前提是此OEM密钥支持计数
skipdb int 不通过已封密钥数据库查询密钥是否被封 0 (默认值)通过
1 不通过
适用于检测复活的密钥,不建议非MAK密钥传1
为了节省资源并加快检测,建议没有需求不要传1
getsimp int 只获取密钥的信息,不检测次数或错误码 0 (默认值)否
1 是
如此项为1,则参数coem和makcode将不会起作用。
makcode int 检测MAK密钥的错误代码 0 (默认值)不检测
1 检测
适用于一些必须通过错误代码才能判定是否有效的MAK
在线密钥不要传1,否则会耗费一次实际激活次数!
cindex int 证书索引 0 (默认值)遍历所有证书
或使用大于0的整数来指定某个证书
证书列表详见下方附录

返回格式:


            
变量名称 数据类型 变量说明 备注
IsShowPopup bool 是否成功获取到检测结果 成功获取到结果,该值会返回False
ShowMessage string 返回的信息 如果IsShowPopup为True,则这里会有返回的具体信息
ProductKey string 产品密钥
KeyConfig string 密钥对应的证书
KeyProduN string 产品名称
KeyEdition string Edition ID
ePID string EPID
ProductID string 产品ID
KeySKU string SKU ID
LicenseType string 授权类型
LicenseChannel string 授权通道
PartNum string Part Num
ActiveCount string 可用次数/错误代码 获取不到激活信息以及该密钥就没有激活次数(例如KMS密钥),会返回"---"
CheckResultModel CheckResultModel 检测数据的类名 包含了当前单个密钥的检测数据
ArrayOfCheckResultModel List 检测数据类的集合 一个集合,内部包含若干个检测数据

附录

证书列表:

ID 名称
1Windows 10 / WinSvr 16 - 19 / Build 19043
2Windows 11 Build 26200 +
3Windows 11 / WinSvr 19 - 22 / Build 20348
4Windows 10 / Build 19044
5Windows 10 / Build 17763
6Windows 10 / WinSvr 16 / Build 16299
7Windows 10 Old
8Windows 10 CSVLK
9Windows 8.1 / WinSvr 2012 R2 / WinEmbedded 8.1
10Windows 8.1 CSVLK
11Windows 8 / WinSvr 2012 / WinEmbedded 8
12Office 2019 + / 365
13Office 2016
14Office 2016 CSVLK
15Office 2013
16Office 2013 CSVLK
17Windows 7 / WinSvr 2008 R2
18Office 2010
19Windows Vista / WinSvr 2008
20Thin PC
21Windows PosReady 7
22VS 2019
23VS 2017
24VS 2015
25VS 2015 RC
26VS 2013
27VS 2012
28VS 2010
29Windows 11 LTSC 2024
30VS 2022