Source code for DetectCPU

Here is the original source code for DetectCPU.
Enjoy and have fun with it!