Find out running on XP embedded
问题 Is there a way to find out if my program is running on XP embedded? I've tried .NET System.Environment.OSVersion, but the version information looks like that of a "normal" Windows XP, except for the minor version number, and relying on that seems to fragile to me. 回答1: A Microsoft eMVP (Bing Chen) on Egg Head Cafe suggests GetVersionEx and a particular version registry key... 1. Call API BOOL GetVersionEx(LPOSVERSIONINFO lpVersionInfo); OSVERSIONINFOEX structure (which is the output of this