Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 编程语言 > .NET > C#.NET > How to retrieve DELL Computer Service Tag by programming
【标  题】:How to retrieve DELL Computer Service Tag by programming
【关键字】:How,to,retrieve,DELL,Computer,Service,Tag,by,programming
【来  源】:http://blog.csdn.net/ramboisme/archive/2007/02/24/1513553.aspx

How to retrieve DELL Computer Service Tag by programming

Your Ad Here Dell's Service Tag is stored in a registry key.
[HKEY_LOCAL_MACHINE\SOFTWARE\Dell Computer Corporation\SysInfo]

CRegistry used in the following code is implemted in the code published in http://blog.csdn.net/ramboisme/archive/2007/02/24/1513354.aspx

/*
    This function will retrieve DELL's service tag from Windows Registry.
*/

CString GetDELLServiceTag(
void)
{
    CRegistry reg
    reg.m_hRootKey 
= HKEY_LOCAL_MACHINE;
    reg.OpenKey(
"SOFTWAREDell Computer CorporationSysInfo");
    lpszData 
= reg.ReadString("SerialNumber");
    reg.CloseKey();
    CString m_strServiceTag 
= lpszData;
    delete lpszData;
    
return m_strServiceTag;
}

全球IP地址分配对应表:【上一篇】
微软最新认证提前看之微软认证的专业开发人员:【下一篇】
【相关文章】
  • Create WAP Push SMS Messages (From C# to JAVA)
  • Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions
  • RedHat Base System Auto Login How to
  • DataGrid\GridView中的删除提示问题
  • 《java核心技术》之读书札记D1:没有goto的标签语句
  • ACE_WFMO_Reactor对事件的等待和分发的主体代码的整理
  • ACE_WFMO_Reactor多路分配主干部分小结
  • 最近看了pixeltoastor的代码的总结--基于宏的"适配模式"(Adapter Pattern)
  • apache2.2.3+jdk1.5.0_04+tomcat-5.5.9安装笔记
  • Dell 2.0时代
  • 【随机文章】
  • 好久没和大家见面了!
  • 专题初级演示教程
  • log4j与tomcat结合的简单配置
  • Linux 网络应用大全
  • 在Web Services中管理Sessions
  • E3 2004,继往开来
  • 用SQL Server 2000管理ISA Server的活动记录(1)
  • CSDN Java沙龙上海活动
  • “这是开动前的黑暗”
  • 常见设计模式的解析和实现(C++)之十五-Observer模式
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.