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 28, 2015 at 04:20 pm · 1 comment

OnePlus 2 Forums: Discuss Everything About The OP2!

Now that the OnePlus 2 has been officially unveiled and that we have had close-up looks at the device itself, it is time for XDA users to begin discussing what to expect out of the company's new flagship phone. Can the OnePlus 2 help you never settle? If you want to find out by discussing with fellow users, the XDA forums are the right place to do so.   The OnePlus One is known for its great community which helped...

XDA NEWS
Aamir Siddiqui · Jul 28, 2015 at 12:56 pm · 2 comments

Galaxy Unpacked: What is Samsung Going to Unveil?

Amidst all the hype of the OnePlus 2 and the rain of Moto 2015 news, Samsung tried stealing the limelight back to itself by announcing their next "Galaxy Unpacked" event, which will be held on August 13th 2015. Samsung took to Twitter to reveal a very cryptic gif associated with the event, which probably has some clue on the device(s) to be launched. The hashtag "#TheNextGalaxy" does indeed point that the event will be the launchpad for a Galaxy device,...

XDA NEWS
Mario Tomás Serrafero · Jul 28, 2015 at 12:26 pm · 1 comment

Arrow Launcher: Good Effort Without Direction

Microsoft’s Android expansion has been well received on the productivity front, but not so much in terms of original applications. While their Office suite managed to bring some of the document-editing excellence to mobile, attempts at entering one’s interface through apps like Picturesque proved to be pointless failures. But even then, some apps like Hyperlapse redeem the computing giant through great quality. Microsoft seems to be approaching Android with brute, misdirected development and plenty of unorganized output, and if they want...

XDA NEWS