FoxPro Programming
Security Protocol TLS 1.2
Gravatar is a globally recognized avatar based on your email address. Security Protocol TLS 1.2
  Joe Hayes
  All
  Jan 31, 2019 @ 03:09am

With VFP application what is the easiest way to default security protocol to TLS 1.2?

Do I need to import System.Net class? If so how?

It looks like “ServicePointManager.SecurityProtocol = 3072” should be invoke to set TLS 1.2 but just not sure how to do it in VFP.

Gravatar is a globally recognized avatar based on your email address. re: Security Protocol TLS 1.2
  Rick Strahl
  Joe Hayes
  Jan 31, 2019 @ 03:13pm

That depends on what you're doing.

ServicePointManager only applies if you're using .NET's HTTP classes to send data.

For various native Windows components (WinInet, WinHttp, XmlHttp) the Internet Explorer settings and OS version are used to determine what version of TLS is used.

Here's more info in a blog post:

+++ Rick ---

© 1996-2019