sonarr-repo-only/NzbDrone.Common/WebClientProvider.cs

12 lines
231 B
C#
Raw Normal View History

2011-10-07 06:57:43 +00:00
using System.Net;
2011-10-07 03:37:41 +00:00
namespace NzbDrone.Common
2011-10-07 03:37:41 +00:00
{
2011-10-07 06:36:04 +00:00
public class WebClientProvider
2011-10-07 03:37:41 +00:00
{
public virtual string DownloadString(string url)
{
return new WebClient().DownloadString(url);
}
}
2011-10-07 06:57:43 +00:00
}