Sha256: 3f3a57cb5dd9eae7cb9f5f80f361b3e77cce9d1beab091b74e08bb3fd7b48389
Contents?: true
Size: 472 Bytes
Versions: 3
Compression:
Stored size: 472 Bytes
Contents
using System; using System.IO; using System.Net; namespace DolphinDeploy.IIS.IIS6.Tests { public static class Helper { public static string GetSite(string uri) { var request = WebRequest.Create(new Uri(uri)); var response = (HttpWebResponse)request.GetResponse(); StreamReader reader = new StreamReader(response.GetResponseStream()); return reader.ReadToEnd(); } } }
Version data entries
3 entries across 3 versions & 1 rubygems