예제 #1
0
        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
        }
예제 #2
0
 protected FileDownloaderBase(IFileModificationStrategy fileModificationStrategy)
 {
     _fileModificationStrategy = fileModificationStrategy;
 }