mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 04:51:45 +02:00
Added NzbDrone.Update, refactored some common wrappers to NzbDrone.Common
This commit is contained in:
12
NzbDrone.Common/WebClientProvider.cs
Normal file
12
NzbDrone.Common/WebClientProvider.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Net;
|
||||
|
||||
namespace NzbDrone.Common
|
||||
{
|
||||
public class WebClientProvider
|
||||
{
|
||||
public virtual string DownloadString(string url)
|
||||
{
|
||||
return new WebClient().DownloadString(url);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user