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-2008, Torsten Rendelmann Page rendered at Wednesday, November 19, 2008 5:58:50 PM (W. Europe Standard Time, UTC+01: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.1.8102.813
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.