智能硬件和电子产品品ID编号和硬件MAC地址对应怎么做

&>&MAC地址和硬盘ID和CPU ID等等电脑硬件信息 VS2012
MAC地址和硬盘ID和CPU ID等等电脑硬件信息 VS2012
上传大小:1.31MB
基本可以查找电脑所有的硬件信息,VC++语言编写,32位和64位通用。
我上网查找了很久,终于找到这个适合WIN7的。
综合评分:4
下载个数:
{%username%}回复{%com_username%}{%time%}\
/*点击出现回复框*/
$(".respond_btn").on("click", function (e) {
$(this).parents(".rightLi").children(".respond_box").show();
e.stopPropagation();
$(".cancel_res").on("click", function (e) {
$(this).parents(".res_b").siblings(".res_area").val("");
$(this).parents(".respond_box").hide();
e.stopPropagation();
/*删除评论*/
$(".del_comment_c").on("click", function (e) {
var id = $(e.target).attr("id");
$.getJSON('/index.php/comment/do_invalid/' + id,
function (data) {
if (data.succ == 1) {
$(e.target).parents(".conLi").remove();
alert(data.msg);
$(".res_btn").click(function (e) {
var parentWrap = $(this).parents(".respond_box"),
q = parentWrap.find(".form1").serializeArray(),
resStr = $.trim(parentWrap.find(".res_area_r").val());
console.log(q);
//var res_area_r = $.trim($(".res_area_r").val());
if (resStr == '') {
$(".res_text").css({color: "red"});
$.post("/index.php/comment/do_comment_reply/", q,
function (data) {
if (data.succ == 1) {
var $target,
evt = e || window.
$target = $(evt.target || evt.srcElement);
var $dd = $target.parents('dd');
var $wrapReply = $dd.find('.respond_box');
console.log($wrapReply);
//var mess = $(".res_area_r").val();
var mess = resS
var str = str.replace(/{%header%}/g, data.header)
.replace(/{%href%}/g, 'http://' + window.location.host + '/user/' + data.username)
.replace(/{%username%}/g, data.username)
.replace(/{%com_username%}/g, data.com_username)
.replace(/{%time%}/g, data.time)
.replace(/{%id%}/g, data.id)
.replace(/{%mess%}/g, mess);
$dd.after(str);
$(".respond_box").hide();
$(".res_area_r").val("");
$(".res_area").val("");
$wrapReply.hide();
alert(data.msg);
}, "json");
/*删除回复*/
$(".rightLi").on("click", '.del_comment_r', function (e) {
var id = $(e.target).attr("id");
$.getJSON('/index.php/comment/do_comment_del/' + id,
function (data) {
if (data.succ == 1) {
$(e.target).parent().parent().parent().parent().parent().remove();
$(e.target).parents('.res_list').remove()
alert(data.msg);
//填充回复
function KeyP(v) {
var parentWrap = $(v).parents(".respond_box");
parentWrap.find(".res_area_r").val($.trim(parentWrap.find(".res_area").val()));
评论共有4条
可以用。不过需要自己改动一下
用WMI com实现,不是我想要的
自己重新建立了一个工程,复制代码 才能用的
VIP会员动态
CSDN下载频道资源及相关规则调整公告V11.10
下载频道用户反馈专区
下载频道积分规则调整V1710.18
spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip
资源所需积分/C币
当前拥有积分
当前拥有C币
输入下载码
为了良好体验,不建议使用迅雷下载
MAC地址和硬盘ID和CPU ID等等电脑硬件信息 VS2012
会员到期时间:
剩余下载个数:
剩余积分:0
为了良好体验,不建议使用迅雷下载
积分不足!
资源所需积分/C币
当前拥有积分
您可以选择
程序员的必选
绿色安全资源
资源所需积分/C币
当前拥有积分
当前拥有C币
为了良好体验,不建议使用迅雷下载
资源所需积分/C币
当前拥有积分
当前拥有C币
为了良好体验,不建议使用迅雷下载
资源所需积分/C币
当前拥有积分
当前拥有C币
您的积分不足,将扣除 10 C币
为了良好体验,不建议使用迅雷下载
无法举报自己的资源
你当前的下载分为234。
你还不是VIP会员
开通VIP会员权限,免积分下载
你下载资源过于频繁,请输入验证码
您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:!
若举报审核通过,可返还被扣除的积分
被举报人:
举报的资源分:
请选择类型
资源无法下载 ( 404页面、下载失败、资源本身问题)
资源无法使用 (文件损坏、内容缺失、题文不符)
侵犯版权资源 (侵犯公司或个人版权)
虚假资源 (恶意欺诈、刷分资源)
含色情、危害国家安全内容
含广告、木马病毒资源
*详细原因:
MAC地址和硬盘ID和CPU ID等等电脑硬件信息 VS2012手撕豇豆的做法步骤图,手撕豇豆怎么做好吃_百度知道
手撕豇豆的做法步骤图,手撕豇豆怎么做好吃
若以下回答无法解决问题,邀请你更新回答
我有更好的答案求助知道网友
材料长豆15条,肉碎50g,干虾米1汤匙,蒜蓉1汤匙做法1、长豆切段,干虾米洗净沥水,肉碎加少许盐、生抽,糖、麻油和粟粉腌制;2、锅里放少许油爆香蒜和蓉虾米,加入肉碎炒散,赞酒;3、加入长豆和适量水焖至软身;4、用适量蚝油和生抽调味即可勾芡出锅。
本回答被网友采纳
1条折叠回答
为您推荐:
其他类似问题
您可能关注的内容
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。> 博客详情
摘要: Android获取应用名称、版本号、应用包名称,移动设备ID、MAC地址、基站信息和手机型号等详细信在实际应用开发中经常会用到,这里做一个记录。
创建一个android应用(AndroidTest),所需权限如下(AndroidManifest.xml文件):
&uses-permission android:name="android.permission.READ_PHONE_STATE" /&
&uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&
&uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&
接下来是MainActivity.java文件:
package com.example.
import org.json.JSONE
import org.json.JSONO
import android.net.wifi.WifiI
import android.net.wifi.WifiM
import android.os.B
import android.provider.Settings.S
import android.app.A
import android.content.C
import android.content.pm.ApplicationI
import android.content.pm.PackageM
import android.content.pm.PackageManager.NameNotFoundE
import android.telephony.TelephonyM
import android.telephony.cdma.CdmaCellL
import android.telephony.gsm.GsmCellL
import android.view.M
public class MainActivity extends Activity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
getInfo();
public void getInfo() {
StringBuilder strLog = new StringBuilder();
Context ctx = this.getApplicationContext();
* 1.获取应用信息
* 要想获取更多应用相关信息请查阅PackageManager、ApplicationInfo资料
// 获取应用名称
String appName = getAppName(ctx);
strLog.append("应用名称:" + appName + "\r\n");
// 获取应用包名称
String packName = getPackName(ctx);
strLog.append("应用包名称:" + packName + "\r\n");
// 获取应用版本
String verName = getVerName(ctx, packName);
strLog.append("应用版本名称:" + verName + "\r\n");
// 获取应用版本号
int verCode = getVerCode(ctx, packName);
strLog.append("应用版本号:" + verCode + "\r\n");
* 2.获取设备信息
// 获取手机型号
String model = getPhoneModel();
strLog.append("手机型号:" + model + "\r\n");
// 获取手机号码
String phoneNum = getLineNum(ctx);
strLog.append("手机号码:" + phoneNum + "\r\n");
// 获取移动用户标志,IMSI
String imsi = getSubscriberId(ctx);
strLog.append("IMSI:" + imsi + "\r\n");
// 获取设备ID
String devID = getDeviceID(ctx);
strLog.append("设备ID:" + devID + "\r\n");
// 获取SIM卡号
String sim = getSim(ctx);
strLog.append("SIM卡号:" + sim + "\r\n");
// 获取基站信息
SCell cellInfo = getCellInfo(ctx);
String strCell = "";
if (cellInfo != null) {
strCell = cellInfo.toJSON().toString();
strLog.append("基站信息:" + strCell + "\r\n");
// 获取Mac地址
String mac = getMac(ctx);
strLog.append("Mac地址:" + mac + "\r\n");
System.out.println(strLog.toString());
} catch (Exception e) {
e.printStackTrace();
* 获取应用包名称
public String getPackName(Context ctx) {
return ctx.getPackageName();
* 获取应用版本名称
public String getVerName(Context ctx, String packName) {
String verName = "";
verName = ctx.getPackageManager().getPackageInfo(packName, 0).versionN
} catch (NameNotFoundException e) {
return verN
* 获取应用版本号
public int getVerCode(Context context, String packName) {
int versionCode = 0;
versionCode = context.getPackageManager().getPackageInfo(packName,
0).versionC
} catch (NameNotFoundException e) {
return versionC
* 获取应用名称
public String getAppName(Context ctx) {
String appName = "";
PackageManager packManager = ctx.getPackageManager();
ApplicationInfo appInfo = ctx.getApplicationInfo();
appName = (String) packManager.getApplicationLabel(appInfo);
} catch (Exception e) {
return appN
* 获取手机型号
* android.os.Build提供以下信息:
The name of the underlying board, like "goldfish".
The brand (e.g., carrier) the software is customized for, if any.
The name of the industrial design.
FINGERPRINT
A string that uniquely identifies this build.
Either a changelist number, or a label like "M4-rc20".
The end-user-visible name for the end product.
The name of the overall product.
Comma-separated tags describing the build, like "unsigned,debug".
The type of build, like "user" or "eng".
public String getPhoneModel() {
return android.os.Build.MODEL;
* 获取手机号码,一般获取不到
* 用到的权限:
&uses-permission android:name="android.permission.READ_PHONE_STATE" /&
* 要想获取更多电话、数据、移动网络相关信息请查阅TelephonyManager资料
public String getLineNum(Context ctx) {
String strResult = "";
TelephonyManager telephonyManager = (TelephonyManager) ctx
.getSystemService(Context.TELEPHONY_SERVICE);
if (telephonyManager != null) {
strResult = telephonyManager.getLine1Number();
return strR
* 获取移动用户标志,IMSI
* 用到的权限:
&uses-permission android:name="android.permission.READ_PHONE_STATE" /&
public String getSubscriberId(Context ctx) {
String strResult = "";
TelephonyManager telephonyManager = (TelephonyManager) ctx
.getSystemService(Context.TELEPHONY_SERVICE);
if (telephonyManager != null) {
strResult = telephonyManager.getSubscriberId();
return strR
* 获取设备ID
* 用到的权限:
&uses-permission android:name="android.permission.READ_PHONE_STATE" /&
public String getDeviceID(Context ctx) {
String strResult =
TelephonyManager telephonyManager = (TelephonyManager) ctx
.getSystemService(Context.TELEPHONY_SERVICE);
if (telephonyManager != null) {
strResult = telephonyManager.getDeviceId();
if (strResult == null) {
strResult = Secure.getString(ctx.getContentResolver(),
Secure.ANDROID_ID);
return strR
* 获取SIM卡号
* 用到的权限:
&uses-permission android:name="android.permission.READ_PHONE_STATE" /&
public String getSim(Context ctx) {
String strResult = "";
TelephonyManager telephonyManager = (TelephonyManager) ctx
.getSystemService(Context.TELEPHONY_SERVICE);
if (telephonyManager != null) {
strResult = telephonyManager.getSimSerialNumber();
return strR
* 获取Wifi Mac地址
* 要想获取更多Wifi相关信息请查阅WifiInfo资料
* 用到的权限:
&uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&
public String getMac(Context ctx) {
WifiManager wifiManager = (WifiManager) ctx
.getSystemService(Context.WIFI_SERVICE);
if (wifiManager != null) {
WifiInfo wi = wifiManager.getConnectionInfo();
return wi.getMacAddress();
* 获取基站信息
* 用到的权限:
* &uses-permission android:name="android.permission.READ_PHONE_STATE" /&
* &uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&
public SCell getCellInfo(Context ctx) {
SCell cell = new SCell();
TelephonyManager tm =
tm = (TelephonyManager) ctx
.getSystemService(Context.TELEPHONY_SERVICE);
} catch (Exception e) {
// IMSI号前面3位460是国家,紧接着后面2位00 02是中国移动,01是中国联通,03是中国电信。
String IMSI = tm.getSubscriberId();
if (IMSI != null) {
if (IMSI.startsWith("46000") || IMSI.startsWith("46002")) {
cell.NETWORK_TYPE = "CHINA MOBILE";
GsmCellLocation location = (GsmCellLocation) tm
.getCellLocation();
if (location == null) {
String operator = tm.getNetworkOperator();
if (operator.length() & 4) {
int mcc = Integer.parseInt(operator.substring(0, 3));
int mnc = Integer.parseInt(operator.substring(3));
int cid = location.getCid();
int lac = location.getLac();
cell.MCC =
cell.MNC =
cell.LAC =
cell.CID =
} else if (IMSI.startsWith("46001")) {
cell.NETWORK_TYPE = "CHINA UNICOM";
GsmCellLocation location = (GsmCellLocation) tm
.getCellLocation();
if (location == null) {
String operator = tm.getNetworkOperator();
if (operator.length() & 4) {
int mcc = Integer.parseInt(operator.substring(0, 3));
int mnc = Integer.parseInt(operator.substring(3));
int cid = location.getCid();
int lac = location.getLac();
cell.MCC =
cell.MNC =
cell.LAC =
cell.CID =
} else if (IMSI.startsWith("46003")) {
cell.NETWORK_TYPE = "CHINA TELECOM";
CdmaCellLocation location = (CdmaCellLocation) tm
.getCellLocation();
if (location == null) {
String operator = tm.getNetworkOperator();
if (operator.length() & 4) {
int mcc = Integer.parseInt(operator.substring(0, 3));
int mnc = Integer.parseInt(operator.substring(3));
int cid = location.getBaseStationId();
int lac = location.getNetworkId();
cell.MCC =
cell.MNC =
cell.LAC =
cell.CID =
// cell.NETWORK_TYPE = "UNDENTIFIED";
* 基站信息
class SCell {
public String NETWORK_TYPE;
public int MCC;
public int MNC;
public int LAC;
public int CID;
public JSONObject toJSON() throws JSONException {
JSONObject json = new JSONObject();
json.put("network_type", NETWORK_TYPE);
json.put("mcc", MCC);
json.put("MNC", MNC);
json.put("LAC", LAC);
json.put("CID", CID);
public boolean onCreateOptionsMenu(Menu menu) {
// I this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.activity_main, menu);
支付宝支付
微信扫码支付
打赏金额: ¥
已支付成功
打赏金额: ¥家具保养要怎么做 盘点几个家具保养小常识_百度知道
家具保养要怎么做 盘点几个家具保养小常识
我有更好的答案
第一,勤于打扫,不要让你的家具落上太多灰尘。因为家具表面非常的光滑和脆弱,因此在打扫家具表面的灰尘时应该用布料较软的软面布来擦拭。需要注意的是,应该先把软面布用水湿一下,然后拧干在擦拭家具,因为潮湿甚至湿润的抹布可以和家具温和的接触减少摩擦阻力,不容易划伤家具表面,最后再用干的软抹布把家具表面的水分吸干。第二,像一些家具,尤其是厨房的家具,往往会沾有一些空气中的污染物和做饭时不慎沾染的油烟,这种污渍一般很难清除,所以应该用专门用来清洗家具的清洗剂。而且这种专用的清洗剂一般呈碱性,不会伤害家具的表面。第三,对于一些纯木头做的家具,尤其是纯木沙发一类的,应该定期的给其上蜡和保养。因为上蜡不仅可以对家具的外观看起来非常光滑而且对家具表面的维护也会起到一定的作用。但是在选择蜡的时候应该注意不要选那些含有硅树脂的蜡,这种蜡因为在常温下容易软化并且还会渗透到家具木材的树孔里,会家具对灰尘有一定的吸附能力,不利于除去灰尘。
欧洲高端进口家具一站式家居平...
主营:欧洲进口现货家居,卫浴,灯具
为您推荐:
其他类似问题
您可能关注的内容
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。网站已改版,请使用新地址访问:
HardwareID 一个根据硬件ID和程序ID生成注册码的动态链接库DLL,可 据计算机CPU、硬盘、网卡、 SCM 单片机开发 238万源代码下载- www.pudn.com
&文件名称: HardwareID
& & & & &&]
&&所属分类:
&&开发工具: Visual Basic
&&文件大小: 1144 KB
&&上传时间:
&&下载次数: 145
&&提 供 者:
&详细说明:一个根据硬件ID和程序ID生成注册码的动态链接库DLL,可以根据计算机CPU、硬盘、网卡、BIOS生成唯一识别码。该组件不是从注册表中获得,而是直接从硬件获取信息,不需要管理员权限。支持最新的WIN7系统。适应于软件开发,注册。保护自己的软件。
-In accordance with a hardware ID, and program ID generated registration code in the dynamic link library DLL, can the computer CPU, hard disk, network card, BIOS generates a unique identifier. This component is not obtained from the registry, but to obtain information directly from the hardware does not need administrator privileges. Support for the latest WIN7 system. Adapted to software development, registration. To protect their software.
文件列表(点击判断是否您需要的文件,如果是垃圾请在下面评价投诉):
&&HardwareID.png&&VB示例\Form1.frm&&......\HardwareID.bas&&......\HardwareID.dll&&......\MSSCCPRJ.SCC&&......\Project1.exe&&......\Project1.vbp&&......\Project1.vbw&&使用说明.txt&&Crack\HardwareID.dll&&HardwareID_Full.exe&&VB示例&&Crack
&近期下载过的用户:
&相关搜索:
&&&&&&&&&&
&输入关键字,在本站238万海量源码库中尽情搜索:
&[] - 一篇关于IGBT的论文 IGBT的死区补偿方法研究
&[] - usb调试助手,1.2版本。
&[] - 获取网卡MAC、硬盘序列号、CPU ID、BIOS编号
你可以保存、在非商业软件中使用、在非盈利性文章中引用本文中的部分或全部文字,但请注明作者及原文地址。
&[] - 获取本机网卡的MAC地址,通过RSA加密程序计算注册码;反过来通过注册码计算网卡MAC地址进行比较。
&[] - HardDeskInfo是用vc开发的一款获取硬件ID号的源程学,对做软件加密有很大的帮助
&[] - 可获取唯一机器码.包括注册码生成器部分和注册部分.可生使用次数生成注册码.可生成16位注册码.检测软件是否注册和过期.
&[] - delphi下控制USB的代码,非常不错,值得收藏!
&[] - 取电脑CPU序列号、网卡MAC地址、主板BIOS、操作系统序列号的Delphi控件
&[] - 获取cpu和硬盘的序列号,得到机器码,传给服务器端,从而生成注册码,使软件注册使用
&[] - 读取硬件ID 包括CPU,网卡MAC,硬盘ID,不是从注册表读取的,是获得真正的ID,我参考了很多资料和例子,才写好的,方便绑定自已开发的程序,现贡献出来!}

我要回帖

更多关于 电子产品有哪些 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信