[Mono-list] Hard coded System.Environment.OSVersion...

Mark Easton mark.easton@blinksoftware.co.uk
Wed, 21 Apr 2004 11:44:43 +0100

Okay, it's been a bit of a while since I pestered the list, so here I am
with another pesky question.

I know the System.Environment.OSVersion property is hard coded to
5.1.2600.0 (which PNET have copied) but I don't have a complete
understanding of why this is.

I was thinking that some OSes like GNU/Linux don't have definitive
version numbers (although I guess the kernel build gets close), but
since a number of OSes do have definitive version numbers, and I right
in assuming the value might be retrieved from an internal call in due