资源简介
花血本在网上的一个开源库 ,本人编译后亲测20台清装xp sp2的机器,无问题,win7 和win8 也测试过,无问题。。

代码片段和文件信息
/*
Version: MPL 1.1/GPL 2.0/LGPL 2.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the “License“); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an “AS IS“ basis
WITHOUT WARRANTY OF ANY KIND either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Original Code is the Open Hardware Monitor code.
The Initial Developer of the Original Code is
Michael Möller .
Portions created by the Initial Developer are Copyright (C) 2009-2010
the Initial Developer. All Rights Reserved.
Contributor(s):
Alternatively the contents of this file may be used under the terms of
either the GNU General Public License Version 2 or later (the “GPL“) or
the GNU Lesser General Public License Version 2.1 or later (the “LGPL“)
in which case the provisions of the GPL or the LGPL are applicable instead
of those above. If you wish to allow use of your version of this file only
under the terms of either the GPL or the LGPL and not to allow others to
use your version of this file under the terms of the MPL indicate your
decision by deleting the provisions above and replace them with the notice
and other provisions required by the GPL or the LGPL. If you do not delete
the provisions above a recipient may use your version of this file under
the terms of any one of the MPL the GPL or the LGPL.
*/
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using OpenHardwareMonitor.GUI;
namespace OpenHardwareMonitor {
public static class Program {
[STAThread]
public static void Main() {
#if !DEBUG
Application.ThreadException +=
new ThreadExceptionEventHandler(Application_ThreadException);
Application.SetUnhandledExceptionMode(
UnhandledExceptionMode.CatchException);
AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
#endif
if (!AllRequiredFilesAvailable())
Environment.Exit(0);
Application.EnableVisualstyles();
Application.SetCompatibleTextRenderingDefault(false);
using (GUI.MainForm form = new GUI.MainForm()) {
form.FormClosed += delegate(object sender FormClosedEventArgs e) {
Application.Exit();
};
Application.Run();
}
}
private static bool IsFileAvailable(string fileName) {
string path = Path.GetDirectoryName(Application.ExecutablePath) +
Path.DirectorySeparatorChar;
if (!File.Exists(path + fileName)) {
MessageBox.Show(“The following file could not be found: “ + fileName +
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1357 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Bin\Debug\Aga.Controls.License.txt
文件 1357 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Licenses\Aga.Controls.License.txt
文件 1901 2012-05-24 01:01 open-hardware-monitor_openSource\open-hardware-monitor_openSource\obj\Debug\OpenHardwareMonitor.csproj.FileListAbsolute.txt
文件 26225 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Bin\Debug\OpenHardwareMonitor.License.txt
文件 26225 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Licenses\OpenHardwareMonitor.License.txt
文件 508 2012-05-23 23:00 open-hardware-monitor_openSource\open-hardware-monitor_openSource\obj\Debug\OpenHardwareMonitorLib.csproj.FileListAbsolute.txt
文件 1274 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Bin\Debug\WinRing0.License.txt
文件 1274 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Licenses\WinRing0.License.txt
文件 216576 2012-05-23 23:09 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Bin\Debug\OpenHardwareMonitor.exe
文件 216576 2012-05-23 23:09 open-hardware-monitor_openSource\open-hardware-monitor_openSource\obj\Debug\OpenHardwareMonitor.exe
文件 11608 2012-05-24 01:01 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Bin\Debug\OpenHardwareMonitor.vshost.exe
文件 146432 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Bin\Debug\Aga.Controls.dll
文件 146432 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\External\Aga.Controls.dll
文件 274944 2012-05-23 23:09 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Bin\Debug\OpenHardwareMonitorLib.dll
文件 274944 2012-05-23 23:09 open-hardware-monitor_openSource\open-hardware-monitor_openSource\obj\Debug\OpenHardwareMonitorLib.dll
文件 14416 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Hardware\WinRing0.sys
文件 14544 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Hardware\WinRing0x64.sys
文件 180 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\External\.svn\all-wcprops
文件 318 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Hardware\Heatmaster\.svn\all-wcprops
文件 366 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Hardware\ATI\.svn\all-wcprops
文件 394 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Hardware\Nvidia\.svn\all-wcprops
文件 408 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Properties\.svn\all-wcprops
文件 411 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Utilities\.svn\all-wcprops
文件 414 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Hardware\TBalancer\.svn\all-wcprops
文件 440 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Licenses\.svn\all-wcprops
文件 442 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\WMI\.svn\all-wcprops
文件 590 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\.svn\all-wcprops
文件 600 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Collections\.svn\all-wcprops
文件 859 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Hardware\LPC\.svn\all-wcprops
文件 866 2012-05-23 18:45 open-hardware-monitor_openSource\open-hardware-monitor_openSource\Hardware\Mainboard\.svn\all-wcprops
............此处省略564个文件信息
相关资源
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
- C#自定义控件
- 基于c#的实验室设备管理系统621530
- C# 使用ListView控件实现图片浏览器(源
- C#简单窗体聊天程序
- C#指纹识别系统程序 报告
- c# 高校档案信息管理系统
评论
共有 条评论