title: Enable TLS 1.2 for SOAP WSDL Call in VB6
body: <p>We're using a VB6 application on Windows 7+ machines (we can't upgrade it just yet). We call several web services in the application like so:</p>
  
  <pre><code>Set objClient = CreateObject("MSSOAP.SoapClient30")
  objClient.MSSoapInit gszEmailWebServiceURL
  objClient.ConnectorProperty("Timeout") = 30000
  strXMLResponse = objClient.GetEmails()
  </code></pre>
  
  <p>Soon, all of the web services we call are changing to only allow TLS 1.2 connections.</p>
  
  <p>Is there any way to set the object to use TLS 1.2?</p>
  
  <p>I know that in .NET, you can do this:</p>
  
  <pre><code>System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
  </code></pre>
  
  <p>Is there something similar for VB6?</p>
  
  <p>Also, I know that you can force the entire system to use TLS 1.2 by default, as specified here: <a href="https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-a-default-secure-protocols-in" rel="nofollow noreferrer">https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-a-default-secure-protocols-in</a>. I tested this on one of our VMs and it indeed works, but we'd have to do this on every one of our client workstations (100+) that use this application, and so I'm hoping there is a way to do it from within the app itself, as we already have auto-update functionality for the app.</p>
  
  <p>Thanks in advance.</p>