[Mono-dev] Open source .Net, and TLS 1.1 & 1.2
alex.koeplinger at outlook.com
Sun Dec 14 17:26:04 UTC 2014
You can find out if you run on Mono by checking if Type.GetType ("Mono.Runtime") != null.
> From: edward.harvey.mono at clevertrove.com
> To: monoforum at my2cents.co.uk
> Date: Sun, 14 Dec 2014 17:07:32 +0000
> CC: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] Open source .Net, and TLS 1.1 & 1.2
> > From: martin at my2cents.co.uk [mailto:martin at my2cents.co.uk] On Behalf
> > Of Martin Thwaites
> > Do we not have a flag for if it's compiled for tests, rather than release?
> I don't need a flag to distinguish between tests & release - I need one to determine if the test is being run on mono or windows.
> For now, I'm just commenting out mono-only sections when I run the test on windows.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list