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

Version Path
dolphindeploy-0.0.3-universal-dotnet lib/csharp/DolphinDeploy.IIS.IIS6/DolphinDeploy.IIS.IIS6.Tests/Helper.cs
dolphindeploy-0.0.2-universal-dotnet lib/csharp/DolphinDeploy.IIS.IIS6/DolphinDeploy.IIS.IIS6.Tests/Helper.cs
dolphindeploy-0.0.1 lib/csharp/DolphinDeploy.IIS.IIS6/DolphinDeploy.IIS.IIS6.Tests/Helper.cs