Microsoft’s and a Lack of Documentation

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 …

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 …