From 05e899bf863f73eb18c523c7445efdcaddb54436 Mon Sep 17 00:00:00 2001 From: Highly Unavailable Date: Mon, 30 May 2016 11:20:11 -0700 Subject: [PATCH] Reverse runtime check for Mono --- Consul/Client.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Consul/Client.cs b/Consul/Client.cs index 09f7c5f..2d92435 100644 --- a/Consul/Client.cs +++ b/Consul/Client.cs @@ -44,7 +44,7 @@ public class ConsulClientConfiguration internal event EventHandler Updated; - internal static Lazy _clientCertSupport = new Lazy(() => { return Type.GetType("Mono.Runtime") != null; }); + internal static Lazy _clientCertSupport = new Lazy(() => { return Type.GetType("Mono.Runtime") == null; }); internal bool ClientCertificateSupported { get { return _clientCertSupport.Value; } }