Added the GetOsEdition() function.