You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/BenchmarksApps/TLS/HttpSys/RegistryController.cs
+30-3Lines changed: 30 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
-
usingSystem.Text;
1
+
usingSystem.Security.Authentication;
2
+
usingSystem.Text;
2
3
usingMicrosoft.Win32;
3
4
4
5
namespaceHttpSys;
5
6
7
+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Interoperability","CA1416:Validate platform compatibility",Justification="benchmark only runs on windows")]
Console.WriteLine($"Enabling registry setting {TLS13Key}\\EnableHTTP3 for TLS1.3");
62
+
registrySubKey.SetValue("EnableHTTP3",1);
63
+
Console.WriteLine($"Enabled registry setting {TLS13Key}\\EnableHTTP3 for TLS1.3");
36
64
}
37
65
38
-
[System.Diagnostics.CodeAnalysis.SuppressMessage("Interoperability","CA1416:Validate platform compatibility",Justification="benchmark only runs on windows")]
0 commit comments