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

jonathan.cooper@syntegra.com jonathan.cooper@syntegra.com
Thu, 22 Apr 2004 09:53:35 +0100


5.1.2600.0 was the original build number of Windows XP, and I suspect is a
placeholder until the required functionality is completed (very much like t=
he
class which returns the system drives is currently hard coded to "c:" and
"a:" for windows for now)

Jon

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Mark Easton
Sent: Wednesday, April 21, 2004 11:45 AM
To: mono-list@lists.ximian.com
Subject: [Mono-list] Hard coded System.Environment.OSVersion...

Okay, it's been a bit of a while since I pestered the list, so here I am wi=
th
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 course? =20

Cheers,

Mark

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list



********************************************************************

This email may contain information which is privileged or confidential. If =
you are not the intended recipient of this email, please notify the sender =
immediately and delete it without reading, copying, storing, forwarding or =
disclosing its contents to any other person
Thank you

Check us out at http://www.btsyntegra.com

********************************************************************