floydpink / CachedImage

A WPF control that wraps the Image control to enable file-system based caching
http://floydpink.github.io/CachedImage/
MIT License
69 stars 22 forks source link

WinINet not caching images, probably because .net core 3.1 #14

Closed Borningstar closed 3 years ago

Borningstar commented 4 years ago

I've got a .Net Core 3.1 WPF project, the bitmap caching stuff doesn't seem to work, I suspect it's an issue with the .Net Core implementation. I havent investigated further to confirm, but if anyone else runs into it the dedicated caching mode should work.

DDR12 commented 4 years ago

It should work but it doesn't. Line #83 that reads var response = await request.GetResponseAsync();

Throws a System. Exception with a message: "Specified argument was out of the range of valid values. (Parameter 'value')