mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Added NzbDrone.Update, refactored some common wrappers to NzbDrone.Common
This commit is contained in:
parent
7563527eac
commit
fb0b505bf4
42 changed files with 1316 additions and 97 deletions
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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue