加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

vb.net – 如何检查操作系统是32位操作系统还是64位

发布时间:2020-12-17 00:00:38 所属栏目:大数据 来源:网络整理
导读:使用vb.net代码可以检查电脑是32位还是64? 我只想在一条消息中显示结果。 请指教。 Environment.Is64BitOperatingSystem 应该做得很好 Determines whether the current operating system is a 64-bit operating system. 假设虚假表示32位环境。 如果您想了
使用vb.net代码可以检查电脑是32位还是64?
我只想在一条消息中显示结果。

请指教。

Environment.Is64BitOperatingSystem应该做得很好

Determines whether the current operating system is a 64-bit operating system.

假设虚假表示32位环境。

如果您想了解该进程是否64位(您可以在64位操作系统上运行32位进程),请使用Environment.Is64BitProcess:

Determines whether the current process is a 64-bit process.

这两个都是在.NET 4.0中引入的。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读