“WEI Share” 分享Windows 7 Experience Index

简介:

众所周知在Windows 7 中我们可以通过右键“我的电脑”->“属性”查看系统性能综合得分。这个分数包含了Processor、Memory、Graphics、Gaming Graphics、Hard drive 五方面性能测评分数。CodePlex 中有一个叫做“WEI Share” 的项目,涉及WPF、WCF、Silverlight、Azure 多种.NET 技术。通过该软件不但可以获得计算机性能分数,还能够将本地数据分享到社区。例如,WEI Share 云端服务器、Facebook。

System

Score

软件使用

     应用程序既可以到WEI Share 网站直接下载使用,也可以下载源代码编译生成,大多数Dev可能都喜欢后者。运行程序后因个人机器不同可能会提示需要重新测评计算机性能。

测评过程软件会调用C:\Windows\System32\WinSAT.ext 对系统各项性能指标进行测试。

 

     漫长的等待后,最终通过GetLatestWinSATFileInfo 方法得到C:\Windows\Performance\WinSAT\DataStore 目录中刚刚完成的最新测评数据。

public static System.IO.FileInfo GetLatestWinSATFileInfo()
{
    // Check if the computer has a \WinSAT dir.
    if (System.IO.Directory.Exists(Helpers.Globals.WinSatDataStoreFolderPath))
    {
        // Because the program makes a new XML file on every update of the score,
        // we need to calculate the most recent, just incase the owner has upgraded.

        System.IO.DirectoryInfo xmlFolder = new System.IO.DirectoryInfo(Helpers.Globals.WinSatDataStoreFolderPath);
        DateTime lastAccessTime = DateTime.MinValue;

        return xmlFolder.GetFiles("*.WinSAT.xml").ToList().OrderByDescending(i => i.Name).FirstOrDefault();
    }

    return null;
}

分享WEI 数据

     在上图分数列表右侧有两个按键“add to WEI Share”和“post to facebook”,提供了将测评数据分享到“WEI Share” 或“Facebook”的功能。程序通过WCF 将数据上传到由Silverlight 开发的WEI Share 云端服务器(感兴趣的朋友可以下载源码自行研究)。在该站点我们可以参考其他分值测评数据的配置信息。

9

也可以将数据发送到个人Facebook 分享给好友参考。

7

8 

相关参考

WEI Share 
http://weishare.cloudapp.net/

http://weishare.codeplex.com/

Channel9 Video

http://channel9.msdn.com/posts/LarryLarsen/WEI-Share-Share-you-Windows-7-Experience-Index/





本文转自Gnie博客园博客,原文链接:http://www.cnblogs.com/gnielee/archive/2010/06/11/wei-share-windows7-experience-index.html,如需转载请自行联系原作者

相关文章
|
API Windows
Windows API Index
http://msdn.microsoft.com/en-us/library/windows/desktop/ff818516(v=vs.
669 0
|
Windows
微软职位内部推荐-Senior SDE for Windows App Experience
微软近期Open的职位: Job posting title: Senior Software Development EngineerLocation: China, Beijing Division: Operations System Group Engineering Group O...
816 0
|
4月前
|
安全 数据安全/隐私保护 虚拟化
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
1200 2
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
|
4月前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
526 0
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
|
4月前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
731 0
|
5月前
|
运维 安全 网络安全
Windows Server 2019拨号“找不到设备”?Error 1058解决指南
Windows Server 2019拨号报错1058?别急!这不是硬件故障,而是关键服务被禁用。通过“服务依存关系”排查,依次启动“安全套接字隧道协议”“远程接入连接管理”和“路由与远程访问”服务,仅需4步即可恢复PPPoE或VPN拨号功能,轻松解决网络中断问题。
496 1
|
5月前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
2722 3
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
|
5月前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
955 2
|
6月前
|
Linux 虚拟化 iOS开发
Windows Server 2025 OVF (2025 年 8 月更新) - VMware 虚拟机模板
Windows Server 2025 OVF (2025 年 8 月更新) - VMware 虚拟机模板
671 3
Windows Server 2025 OVF (2025 年 8 月更新) - VMware 虚拟机模板