if (System.Runtime.Version.Major == 1 && System.Runtime.Version.Minor < 1 ) {...} else {...}
Isn't this (and variations) enough to have:
if (Environment.OSVersion.Major == 5 && Environment.OSVersion.Minor >= 1 ) {...} else {...}
There are really enough differences we have to consider... :-(
© Copyright 2002-2010, Torsten Rendelmann Page rendered at Saturday, July 31, 2010 11:58:41 AM (W. Europe Daylight Time, UTC+02:00)
Like RSS Bandit? Make a donation to help support its development and maintenance. As little as 1€ will help.
SUBSCRIBE RSS GeoURL
newtelligence dasBlog 2.3.9074.18820
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.