MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / GetDiskSerial

Method GetDiskSerial

src/pkgDm/Dm2Java.java:2479–2481  ·  view source on GitHub ↗

获取本机的硬盘序列号.支持ide scsi硬盘. 要求调用进程必须有管理员权限. 否则返回空串. @return 字符串表达的硬盘序列号

()

Source from the content-addressed store, hash-verified

2477 * @return 字符串表达的硬盘序列号
2478 */
2479 public String GetDiskSerial(){
2480 return Dispatch.call(dm,"GetDiskSerial").getString();
2481 }
2482
2483 /**
2484 * 获取本机的机器码.(带网卡). 此机器码用于插件网站后台. 要求调用进程必须有管理员权限. 否则返回空串.

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getStringMethod · 0.45

Tested by

no test coverage detected