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.
Pulser_G2 · May 28, 2015 at 05:52 pm · 2 comments

Devs Beware – Automatic Backup Privacy Risks

One new feature of "Android M" (speculation on potential names welcomed on the back of a postcard) which gained little attention at Google I/O so far was the introduction of a new, automatic backup feature for application data. Obviously, it's still early days yet, though you can download the developer preview (if you're brave!), so we can't be sure of the final implementation, but there are a few gotchas here that developers should be aware of. Automation The first is...

XDA NEWS
Mathew Brack · May 28, 2015 at 05:19 pm · 2 comments

Android M to Bring New App Drawer

It has now been seen that Android M will receive a new app drawer as part of the stock launcher. The first four icons you will see in your drawer now will be automatically updated to represent your recently used applications. Whether or not this will be directly based on those apps seen in your recent apps menu or uses a combination of that and your most frequently used apps remains to be seen. Below this is the start of a standard...

XDA NEWS
Emil Kako · May 28, 2015 at 04:07 pm · 4 comments

Which IO Announcement Are You Most Excited About?

The keynote we had all been waiting for has just ended and it's time to enjoy all the new Android goodies! Google announced tons of awesome new stuff today so there is definitely a lot to check out. Let us know which Google IO announcement you're most excited about and why in the comments below.

DISCUSS
Share This