title: error : "A call to SSPI failed, see inner exception: The function requested is not supported" Between WPF app and Java Server app, com: WebSocket)
body: <p>I have a .Net WPF Desktop application write in C#, which communicate with a Java server application using Websocket.
  The TSL (Transport Security Layer) of the server application has been recently updated from the 1.1 to 1.2 version.
  Since then the client was not able to connect again to the server.
  I received the following error; “An error occurred: A call to SSPI failed, see inner exception: The function requested is not supported”</p>
  <p>The .Net framework has been raised from 4.6.1 to 4.7.2 and the registry has been created as it mentioned in the documentation</p>
  <p>Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client</p>
  <p>A DWORD entry named DisabledByDefault with 0 as value
  Another DWORD entry named Enabled with 1 as value both in hexadecimal format.</p>
  <p>Any idea ?</p>