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

Graham Allwood Graham.Allwood@CODA.com
Tue, 11 Mar 2003 09:05:41 -0000


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2E7AD.645621C0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset="iso-8859-1"

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

------_=_NextPart_001_01C2E7AD.645621C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Mono-list] How can the assembly check the OS it's =
on?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Are we talking about implementing a Framework class =
or writing an application?</FONT>
</P>

<P><FONT SIZE=3D2>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.</FONT></P>

<P><FONT SIZE=3D2>Graham Allwood</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Daniel Morgan [<A =
HREF=3D"mailto:danmorg@sc.rr.com">mailto:danmorg@sc.rr.com</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: 11 March 2003 07:16</FONT>
<BR><FONT SIZE=3D2>To: Fergus Henderson</FONT>
<BR><FONT SIZE=3D2>Cc: Jonathan Pryor; Charles-Louis; Mono List</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Mono-list] How can the assembly check =
the OS it's on?</FONT>
</P>

<P><FONT SIZE=3D2>Maybe you need a pair of glasses to see.</FONT>
</P>

<P><FONT SIZE=3D2>ORP has a CLI and JVM implementation.&nbsp; They even =
have OCL which is an Open</FONT>
<BR><FONT SIZE=3D2>CLI Library.</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Fergus Henderson [<A =
HREF=3D"mailto:fjh@ceres.cs.mu.OZ.AU">mailto:fjh@ceres.cs.mu.OZ.AU</A>]O=
n Behalf Of Fergus</FONT>
<BR><FONT SIZE=3D2>Henderson</FONT>
<BR><FONT SIZE=3D2>Sent: Monday, March 10, 2003 11:55 PM</FONT>
<BR><FONT SIZE=3D2>To: Daniel Morgan</FONT>
<BR><FONT SIZE=3D2>Cc: Jonathan Pryor; Charles-Louis; Mono List</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Mono-list] How can the assembly check =
the OS it's on?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>On 07-Mar-2003, Daniel Morgan =
&lt;danmorg@sc.rr.com&gt; wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; How do you determine in C# or .NET which CLI =
implementation you are</FONT>
<BR><FONT SIZE=3D2>running?</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; DotGNU Portable.NET</FONT>
<BR><FONT SIZE=3D2>&gt; Intel ORP</FONT>
<BR><FONT SIZE=3D2>&gt; Microsoft .NET</FONT>
<BR><FONT SIZE=3D2>&gt; Mono</FONT>
<BR><FONT SIZE=3D2>&gt; Rotor (MS SS CLI)</FONT>
</P>

<P><FONT SIZE=3D2>Since when did ORP become a CLR =
implementation?</FONT>
</P>

<P><FONT SIZE=3D2>Last time I looked, ORP was a JVM implementation, not =
a CLR implementation.</FONT>
</P>

<P><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Fergus Henderson &lt;fjh@cs.mu.oz.au&gt;&nbsp; =
|&nbsp; &quot;I have always known that the pursuit</FONT>
<BR><FONT SIZE=3D2>The University of =
Melbourne&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; of =
excellence is a lethal habit&quot;</FONT>
<BR><FONT SIZE=3D2>WWW: &lt;<A HREF=3D"http://www.cs.mu.oz.au/~fjh" =
TARGET=3D"_blank">http://www.cs.mu.oz.au/~fjh</A>&gt;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp; -- the last words of T. S. Garp.</FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Mono-list maillist&nbsp; -&nbsp; =
Mono-list@lists.ximian.com</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.ximian.com/mailman/listinfo/mono-list" =
TARGET=3D"_blank">http://lists.ximian.com/mailman/listinfo/mono-list</A>=
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2E7AD.645621C0--