Today I have been working on the operating system identification engine for CSIT. However. I have been quite frustrated by Mirosoft’s lack of documentation for some items. I have been using the GetProductInfo function call via pinvoke from C#. After digging around in the WinNT.h header file that came with Visual Studio I found the …
Monthly Archives: May 2010
CSIT Update
Hi everyone! I am pleased to report that I have finally made some decent progress with CSIT. I now have the pinvoke links completed and functioning, I can also get access to the features that a CPU supports as well as information about the caches and other information about the CPU – yay! Below is …
First Code Snippet – Simple Hertz and Bytes Converters (C#)
Hi everyone! These are my first code snippets. These were written as part of my CSIT project and are used to convert sizes and frequencies easily from one type to another. First lets look at the byte conversion function. [cc lang=”c#”] public enum ByteUnits : int { B, kB, MB, GB, TB, PB } public …
Continue reading “First Code Snippet – Simple Hertz and Bytes Converters (C#)”
Hello World!
Welcome to my new blog! I am looking forward to sharing my thoughts and ideas with the world. I plan on putting some pages up on here about my projects and hopefully some code snippet pages too. That way others can benefit from any pieces of code I think may be helpful to others. As …