[Mono-dev] Open source .Net, and TLS 1.1 & 1.2

Alexander Köplinger 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.
-- Alex
 
> 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
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141214/b551d9d6/attachment.html>


More information about the Mono-devel-list mailing list