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-2012, Torsten Rendelmann Page rendered at Tuesday, February 07, 2012 8:16:01 AM (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.3.9074.18820
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.