I have a (local) patch that returns the true version number on Windows and
the value of "uname -r" on Linux.
I'll clean it up and sent it for review.

Sebastien Pouliot
http://pages.infinit.net/ctech/poupou.html


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: 22 avril 2004 04:54
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Mono-list] Hard coded System.Environment.OSVersion...


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
the
class which returns the system drives is currently hard coded to "c:" and
"a:" for windows for now)

Jon

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Easton
Sent: Wednesday, April 21, 2004 11:45 AM
To: [EMAIL PROTECTED]
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
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 course?

Cheers,

Mark

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
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

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

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to