MindscapeHQ/raygun4net — pull request #181 by jbwhitehurst (2014-09-18 15:27:34+00:00)
Title: Improve performance in getting the cpu name and os version in RayGunEnvironmentMessage

The current code queries 40+ processor variables, when we only need one - the processor Name. This can be very slow on some older machines(i.e. Windows Server 2003) due to WMI calculating the LoadPercentage property.
http://stackoverflow.com/questions/5465653/wmi-loadpercentage-call-is-very-slow

Making a change to only query the properties we need, the processor name and the os version. This eliminates WMI having to load all the other unused property values