protected FileDownloaderBase(IFileModificationStrategy fileModificationStrategy) { _fileModificationStrategy = fileModificationStrategy; // https://stackoverflow.com/questions/2859790/the-request-was-aborted-could-not-create-ssl-tls-secure-channel #if NET45 ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; #endif }
protected FileDownloaderBase(IFileModificationStrategy fileModificationStrategy) { _fileModificationStrategy = fileModificationStrategy; }