以编程方式检查Windows 7是否已激活 [英] Programmatically check whether Windows 7 is activated

查看:105
本文介绍了以编程方式检查Windows 7是否已激活的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景: 我正在创建将被加载到多个工作站的系统映像.将映像加载到工作站后,将进行Windows激活.这些计算机将不会连接到Internet,而是会通过电话激活.

Background: I am creating system images that will be loaded onto several workstations. Windows activation will occur after the images are loaded onto the workstation. These computers will not be connected to the Internet and will be activated over the phone.

问题: 我想以编程方式检查是否激活了Windows 7,因此如果未激活Windows 7,我们的软件将无法运行.我们的软件是用C#编写的.

Question: I would like to check programmatically if Windows 7 is activated or not, so that our software will not run if Windows 7 is not activated. Our software is written in C#.

推荐答案

软件许可API- LegitCheck )

The Software Licensing API - SLIAPI, take at look at SLIsGenuineLocal(). (Replaces LegitCheck)

这篇关于以编程方式检查Windows 7是否已激活的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆