• 大小: 0.07M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: 系统  

资源简介

查看本机关键硬件ID,系统及IP地址等

资源截图

代码片段和文件信息

using System;
using System.Management;

namespace Soyee.Comm
{
    /// 
    /// Computer Information
    /// 

    public class Computer
    {
        public string CpuID;
        public string MacAddress;
        public string DiskID;
        public string IpAddress;
        public string LoginUserName;
        public string ComputerName;
        public string SystemType;
        public string HardDiskID;
        public string TotalPhysicalMemory; //单位:M
        private static Computer _instance;
        public static Computer Instance()
        {
            if (_instance == null)
                _instance = new Computer();
            return _instance;
        }
        public Computer()
        {
            CpuID = GetCpuID();
           

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-08-04 19:47  获取硬件ID\
     目录           0  2015-08-04 19:49  获取硬件ID\获取硬件ID\
     文件         932  2015-08-04 19:47  获取硬件ID\获取硬件ID.sln
     文件       27648  2015-08-04 20:15  获取硬件ID\获取硬件ID.v11.suo
     文件         187  2015-08-04 19:47  获取硬件ID\获取硬件ID\App.config
     目录           0  2015-08-04 19:47  获取硬件ID\获取硬件ID\bin\
     目录           0  2015-08-04 20:16  获取硬件ID\获取硬件ID\bin\Debug\
     文件       13824  2015-08-04 20:15  获取硬件ID\获取硬件ID\bin\Debug\获取硬件ID.exe
     文件         187  2015-08-04 19:47  获取硬件ID\获取硬件ID\bin\Debug\获取硬件ID.exe.config
     文件       34304  2015-08-04 20:15  获取硬件ID\获取硬件ID\bin\Debug\获取硬件ID.pdb
     文件       22984  2015-08-04 20:15  获取硬件ID\获取硬件ID\bin\Debug\获取硬件ID.vshost.exe
     文件         187  2015-08-04 19:47  获取硬件ID\获取硬件ID\bin\Debug\获取硬件ID.vshost.exe.config
     文件         490  2010-03-17 22:39  获取硬件ID\获取硬件ID\bin\Debug\获取硬件ID.vshost.exe.manifest
     文件        5658  2015-08-04 20:16  获取硬件ID\获取硬件ID\bin\Debug\获取硬件ID.zip
     文件        7829  2015-08-04 20:15  获取硬件ID\获取硬件ID\Computer.cs
     文件         915  2015-08-04 20:15  获取硬件ID\获取硬件ID\Form1.cs
     文件        8949  2015-08-04 20:15  获取硬件ID\获取硬件ID\Form1.Designer.cs
     文件        5817  2015-08-04 20:15  获取硬件ID\获取硬件ID\Form1.resx
     目录           0  2015-08-04 19:47  获取硬件ID\获取硬件ID\obj\
     目录           0  2015-08-04 20:15  获取硬件ID\获取硬件ID\obj\Debug\
     文件         863  2015-08-04 19:47  获取硬件ID\获取硬件ID\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        7125  2015-08-04 19:51  获取硬件ID\获取硬件ID\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件           0  2015-08-04 19:47  获取硬件ID\获取硬件ID\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2015-08-04 19:47  获取硬件ID\获取硬件ID\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2015-08-04 19:47  获取硬件ID\获取硬件ID\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
     目录           0  2015-08-04 19:47  获取硬件ID\获取硬件ID\obj\Debug\TempPE\
     文件         852  2015-08-04 20:15  获取硬件ID\获取硬件ID\obj\Debug\获取硬件ID.csproj.FileListAbsolute.txt
     文件         975  2015-08-04 20:15  获取硬件ID\获取硬件ID\obj\Debug\获取硬件ID.csproj.GenerateResource.Cache
     文件        2361  2015-08-04 20:07  获取硬件ID\获取硬件ID\obj\Debug\获取硬件ID.csprojResolveAssemblyReference.cache
     文件       13824  2015-08-04 20:15  获取硬件ID\获取硬件ID\obj\Debug\获取硬件ID.exe
     文件         180  2015-08-04 20:15  获取硬件ID\获取硬件ID\obj\Debug\获取硬件ID.Form1.resources
............此处省略10个文件信息

评论

共有 条评论