We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e0a2d17 + c14d10c commit a004aefCopy full SHA for a004aef
1 file changed
Source/HtmlRenderer/Core/Handlers/ImageDownloader.cs
@@ -48,6 +48,11 @@ internal sealed class ImageDownloader : IDisposable
48
/// </summary>
49
private readonly Dictionary<string, List<DownloadFileAsyncCallback>> _imageDownloadCallbacks = new Dictionary<string, List<DownloadFileAsyncCallback>>();
50
51
+ public ImageDownloader()
52
+ {
53
+ ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
54
+ }
55
+
56
/// <summary>
57
/// Makes a request to download the image from the server and raises the <see cref="cachedFileCallback"/> when it's down.<br/>
58
0 commit comments