CR的代码文本

all for learning about the world
  订阅 订阅  :: 管理

2014年3月10日

摘要: 注:判断整型的长度的方式,只有在AnyCPU编译模式下才有用。因此更好的办法是获取真的地址总线位宽(使用WMI,windows management instruementation)。.NET 2.0add reference, System.Managementusing System.Management;... public static int GetOSBit() { try { string addressWidth = String.Empty; ... 阅读全文

posted @ 2014-03-10 14:14 mumuliang 阅读(2462) 评论(2) 推荐(0) 编辑