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; } }