Delphi常用获取系统信息的函数单元


本文整理自网络,侵删。

 Delphi常用获取系统信息的函数单元

function SubString(sValue: string): string; //拷贝字符串
function ReplaceString(sValue: string): string; //删除字符串
function GetIdeDiskSerialNumber: string; //获得本机的硬盘ID号
function LocalIP: string; //获得本机的ip地址
function GetLocalHost: string; //获取计算机名称
function GetCurrentUserName: string; //获取当前计算机用户
function GetWindowsVersion: string; //获取系统版本号
function GetMemory: string; //GlobalMemoryStatus函数获取内存使用信息
function GetDiskID(disk:PWidechar):string;//获取硬盘序列号 ,disk为盘符

附件下载:/Upfile/201058/2010050873447297.rar

相关阅读 >>

Delphi controls 属性与继承 tshape 类的小练习

xp/2003下Delphi最简单的方法开放3389

Delphi 压缩带密码的access数据库的方法

Delphi cxgrid使用小结

Delphi的datetostr strtodate格式灵活用法

Delphi 查看字符串在不同编码(ascii、unicode、utf7、utf8、default、bigendianunicode)下的 hex

tidtcpserver控件中文指南

Delphi使用idhttp 获取 httpsurl内容

Delphi 从摄像头获取照片并转换为特定的格式

Delphi tstrings类的一些技巧

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...