您当前的位置: 首页 >  c#

刘一哥GIS

暂无认证

  • 5浏览

    0关注

    918博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

C#做的CPU内存使用率

刘一哥GIS 发布时间:2015-03-16 00:50:50 ,浏览量:5

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Threading;
using System.Runtime.InteropServices;
using System.Management;
namespace CPU_Detect
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        Process[] MyProcesses;
        Thread td;
        private void myUser()
        {
            ManagementObjectSearcher searcher = new ManagementObjectSearcher("select * from Win32_Processor");
            foreach (ManagementObject myobjec
关注
打赏
1663688642
查看更多评论
立即登录/注册

微信扫码登录

0.0465s