Can we write a C# code to automatic tick "Use TLS 1.2"?
This is manual step:- Go into Internet Options > Advanced then down to the Security section, and tick the box for "Use TLS 1.2".
Is there any way to tick it programmatically in C#.
Can we write a C# code to automatic tick "Use TLS 1.2"?
This is manual step:- Go into Internet Options > Advanced then down to the Security section, and tick the box for "Use TLS 1.2".
Is there any way to tick it programmatically in C#.
Use UI Automation Test Library from microsoft. It's used for testing purpose but it can work here. https://learn.microsoft.com/en-us/windows/desktop/winauto/ui-automation-test-library
Most of Internet option are Reg key. You can simply modify them with win32 or executing them in a command shell.
The key is specified in this MSDN article 1. and 2
Now either "How to modify registery key in C#" or "How to execute cmd command in c#".