Jump to content

Talk:Rosetta Code/Count examples: Difference between revisions

New section about problem running the C# sample
(New section about problem running the C# sample)
Line 72:
 
::::: Ha! Kudos! I was only semi serious when I suggested you implement it. I've got a bunch of RL stuff going on right now that is severely limiting my Rosettacode time. Awesome that you stepped up and did it. (And I got you to mess around with Raku too. Mwaa ha ha ha. My evil plan comes together. 😈) O is probably as good an indicator as anything else. I'll try running my weekly reports with the update. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 19:35, 18 July 2021 (UTC)
 
==Problem running the C# entry==
I tried running the C# entry under .NET Framework 4.8.1 and Windows 10 and got the error message:
<code>Unhandled Exception: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.</code>
<br>Posts on Stackoverflow suggested adding <code>ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;</code> as the first thing in the Main method, which fixed the problem, however I haven't put this in the actual source as I'm not sure it is the "proper" solution. --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 11:17, 11 September 2022 (UTC)
3,038

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.