[Mono-list] How can the assembly check the OS it's on?

Charles-Louis charlouis.mono@wanadoo.be
11 Mar 2003 11:04:00 +0100


Thanks to all of you, You've been very helpful!

I'll be using the System.IO.Path.DirectorySeparatorChar variable,
because it's enough for the application I'm writing :-)




Le mar 11/03/2003 à 10:05, Graham Allwood a écrit :
> Are we talking about implementing a Framework class or writing an
> application?
> 
> If it's the latter (which I presume it's not) then there is
> System.Diagnostics.EventLog which abstracts all of this. But I'm sure
> you all know that anyway and I've got mixed up with the question.
> 
> Graham Allwood
> 
> 
> 
> -----Original Message-----
> From: Daniel Morgan [mailto:danmorg@sc.rr.com] 
> Sent: 11 March 2003 07:16
> To: Fergus Henderson
> Cc: Jonathan Pryor; Charles-Louis; Mono List
> Subject: RE: [Mono-list] How can the assembly check the OS it's on?
> 
> Maybe you need a pair of glasses to see.
> 
> ORP has a CLI and JVM implementation.  They even have OCL which is an
> Open
> CLI Library.
> 
> -----Original Message-----
> From: Fergus Henderson [mailto:fjh@ceres.cs.mu.OZ.AU]On Behalf Of
> Fergus
> Henderson
> Sent: Monday, March 10, 2003 11:55 PM
> To: Daniel Morgan
> Cc: Jonathan Pryor; Charles-Louis; Mono List
> Subject: Re: [Mono-list] How can the assembly check the OS it's on?
> 
> 
> On 07-Mar-2003, Daniel Morgan <danmorg@sc.rr.com> wrote:
> > How do you determine in C# or .NET which CLI implementation you are
> running?
> >
> > DotGNU Portable.NET
> > Intel ORP
> > Microsoft .NET
> > Mono
> > Rotor (MS SS CLI)
> 
> Since when did ORP become a CLR implementation?
> 
> Last time I looked, ORP was a JVM implementation, not a CLR
> implementation.
> 
> --
> Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the
> pursuit
> The University of Melbourne         |  of excellence is a lethal
> habit"
> WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S.
> Garp.
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-- 
Charles-Louis <charlouis.mono@wanadoo.be>