RusticiSoftware / SCORMCloud_NetLibrary

A C# library to assist in the integration of the SCORM Cloud service into .Net 2.0+ applications.
http://scorm.com/scorm-solved/scorm-cloud/develop-a-scorm-cloud-app/
Other
11 stars 22 forks source link

TLS 1.2 Support? #59

Closed cemerson closed 4 years ago

cemerson commented 4 years ago

Apologies if this is addressed elsewhere but it appears that this library may not support TLS 1.2 yet and since SCORM Cloud is turning of support for TLS 1.0 in a few days is there a solution for people still on this version of the API?

Example Error: Error in [DownloadDataInternal]: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadData(Uri address) at RusticiSoftware.HostedEngine.Client.ServiceRequest.GetResponseFromUrl(String url) in E:\mysite\SCORMCloud_NetLibrary\SCORMCloud_NetLibrary-master\ServiceRequest.cs:line 194 at RusticiSoftware.HostedEngine.Client.ServiceRequest.GetXmlResponseFromUrl(String url) in E:\mysite\SCORMCloud_NetLibrary\SCORMCloud_NetLibrary-master\ServiceRequest.cs:line 153 at RusticiSoftware.HostedEngine.Client.DebugService.CloudPing() in E:\mysite\SCORMCloud_NetLibrary\DebugService.cs:line 61 ...

Reference: Article: https://support.scorm.com/hc/en-us/articles/360049764214-SCORM-Cloud-Disabling-support-for-TLS-version-1-0

cemerson commented 4 years ago

FYI I addressed this in my code (not the SC NetLibrary).