Closed lonitra closed 1 week ago
ServicePointManager and WebClient are obselete, but are being used in PictureBox https://github.com/dotnet/winforms/blob/520c319cb19375f96afeb79cf5af21b9e877d98c/src/System.Windows.Forms/src/System/Windows/Forms/Controls/PictureBox/PictureBox.cs#L500-L524
ServicePointManager
WebClient
PictureBox
We needed to suppress SYSLIB0014 warning in https://github.com/dotnet/winforms/pull/11540 to unblock depdency flow, but we should update this code to use HttpClient
SYSLIB0014
HttpClient
PR #11215 provides a webserver for testing HTTP client downloads.
ServicePointManager
andWebClient
are obselete, but are being used inPictureBox
https://github.com/dotnet/winforms/blob/520c319cb19375f96afeb79cf5af21b9e877d98c/src/System.Windows.Forms/src/System/Windows/Forms/Controls/PictureBox/PictureBox.cs#L500-L524We needed to suppress
SYSLIB0014
warning in https://github.com/dotnet/winforms/pull/11540 to unblock depdency flow, but we should update this code to useHttpClient