• 大小: 0.45M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: CPU  显卡  c  温度  

资源简介


资源截图

代码片段和文件信息

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 OpenHardwareMonitor.Hardware;

namespace WindowsFormsApplication1
{
    public class UpdateVisitor : IVisitor
    {
        public void VisitComputer(IComputer computer)
        {
            computer.Traverse(this);
        }

        public void VisitHardware(IHardware hardware)
        {
            hardware.Update();
            foreach (IHardware subHardware in hardware.SubHardware)
                subHardware.Accept(this);
        }

        public void VisitSensor(ISensor sensor) { }

        public void VisitParameter(IParameter parameter) { }
    }

    public par

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-06-04 20:09  .vs\
     目录           0  2018-06-04 20:09  .vs\WindowsFormsApplication1\
     目录           0  2018-06-04 20:15  .vs\WindowsFormsApplication1\v15\
     文件       55808  2018-06-05 07:22  .vs\WindowsFormsApplication1\v15\.suo
     目录           0  2018-06-04 20:09  .vs\WindowsFormsApplication1\v15\Server\
     目录           0  2018-06-05 07:22  .vs\WindowsFormsApplication1\v15\Server\sqlite3\
     文件           0  2018-06-04 20:09  .vs\WindowsFormsApplication1\v15\Server\sqlite3\db.lock
     文件     1114112  2018-06-05 07:22  .vs\WindowsFormsApplication1\v15\Server\sqlite3\storage.ide
     目录           0  2018-06-04 20:21  WindowsFormsApplication1\
     文件        2536  2018-06-04 20:16  WindowsFormsApplication1\Form1.Designer.cs
     文件        2368  2018-06-04 20:20  WindowsFormsApplication1\Form1.cs
     文件        5817  2017-11-17 08:53  WindowsFormsApplication1\Form1.resx
     文件        2831  2018-06-04 20:21  WindowsFormsApplication1\Program.cs
     目录           0  2018-05-31 17:49  WindowsFormsApplication1\Properties\
     文件        1372  2017-11-17 08:49  WindowsFormsApplication1\Properties\AssemblyInfo.cs
     文件        2889  2018-06-04 20:18  WindowsFormsApplication1\Properties\Resources.Designer.cs
     文件        5612  2017-11-17 08:49  WindowsFormsApplication1\Properties\Resources.resx
     文件        1124  2018-06-04 20:18  WindowsFormsApplication1\Properties\Settings.Designer.cs
     文件         249  2017-11-17 08:49  WindowsFormsApplication1\Properties\Settings.settings
     文件        4189  2018-06-04 20:18  WindowsFormsApplication1\WindowsFormsApplication1.csproj
     文件         161  2018-06-04 20:18  WindowsFormsApplication1\app.config
     目录           0  2018-05-31 17:49  WindowsFormsApplication1\bin\
     目录           0  2018-06-04 20:21  WindowsFormsApplication1\bin\Debug\
     文件      310272  2018-06-03 11:48  WindowsFormsApplication1\bin\Debug\OpenHardwareMonitorLib.dll
     文件       14544  2018-06-04 20:08  WindowsFormsApplication1\bin\Debug\OpenHardwareMonitorLib.sys
     文件       10752  2018-06-04 20:21  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
     文件         161  2018-06-04 20:18  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config
     文件       24064  2018-06-04 20:21  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
     文件       22688  2018-06-04 10:54  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe
     文件         490  2018-04-12 07:35  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
     目录           0  2018-05-31 17:49  WindowsFormsApplication1\obj\
............此处省略17个文件信息

评论

共有 条评论