Will Verduzco · Oct 7, 2013 at 10:00 am

Retrieve System Info with Open Source SysLib for .Net Apps

Some time ago, we took a look at a simple, open source application for Windows 8 by XDA Senior Member Beatsleigher that returned CPU information on demand. Telling you all sorts of parameters, the application was useful for all of us looking to learn a little more about the architecture used in our desktop-class processors.

Since then, Beatsleigher has received many requests to port the application to C++ or C# in order to allow other developers to create an app similar to the admittedly awesome CPU-Z. Rather than simply porting the app, Beatsleigher instead created a .Net library that has most of the functionality of DetectCPU, and then some.

SysLib was created using Visual Basic .Net, and it can be used in any .Net application. This includes apps coded with Visual Basic .Net, C#, and Visual C++. Currently, it features three classes: CPU, motherboard, and battery.

Using the library is simple. First off, you need to have .Net 2.0 or higher and use the framework in your app. To get started, add the DLL as a reference to your program. Then, import the library to your app’s classes. Finally, add the class as a variable.

If you’re an app developer looking to read CPU, motherboard, and battery data, SysLib has the potential to make itself quite useful. Head over to the original thread to get started. And if you’d like to take a look at the source code, Beatsleigher has it available over on his Github.


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Mario Tomás Serrafero · Jul 6, 2015 at 12:49 pm · 11 comments

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years we've some of our favorite companies' tables turned. Some are stagnating, some are struggling, some lack direction. Despite this, we often hold them dear to our hearts. Many of them could use a hand, be it with design, marketing, or other tasks. If you could help out an OEM and take it back to its golden days, which one would it be?

DISCUSS
Aamir Siddiqui · Jul 6, 2015 at 11:03 am · 4 comments

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties involved in rooting and installing a custom rom, recovery and kernel on such a carrier locked device. Add to this the extra layer of security that Samsung adds in the form of the Knox counter on its devices, and one can only imagine the roadblocks for enthusiasts who want to play around with their device without losing warranty in the process. It's a slippery slope...

XDA NEWS
Jimmy McGee · Jul 6, 2015 at 06:00 am · 5 comments

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of IonVR and be sure to check out the article talking about the OnePlus Cardboard price (Hint, it's free). That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA TV Producer TK released an...

XDA NEWS
Share This