Umm.. yes you are right.
My assumption was that it wraps a SystemParametersInfo.
Obviously it's not =), but you can call it yourself;
something like that:
==========================================================
internal const int SPI_GETPLATFORMTYPE = 257;
[DllImport("coredll.dll")]
internal static extern int SystemParametersInfo (
int uiAction,
int uiParam,
string pvParam,
int fWinIni );
if (SystemParametersInfo(SPI_GETPLATFORMTYPE,
szPlatform.Length , szPlatform, 0)!=0)
{
string strPlatform = szPlatform.Substring(0, 8);
if (strPlatform == temp)
return true;
}
======================================================
-Alex