Desktop Developer column
by Hank Marquis
Visual Studio Magazine, May 2002

Unpack the VB6 ZIP into a directory. Detect.cls is the VB6 class module
that implements the "WindowsName" function. It returns the complete name of the operating system, for example "Microsoft Windows XP Professional (Build 2600), service pack 0.0". You can extend this class by editing it to store and then expose intermediate results, for example, Windows major and minor versions, build and service pack.

This applies to the .NET ZIP as well--that is, extending by storing intermediate results.


