private Stream connectGuest(string ip_address, int port, IXenConnection connection) { string uriString = String.Format("http://{0}:{1}/", ip_address, port); Log.DebugFormat("Trying to connect to: {0}", uriString); return(HTTP.ConnectStream(new Uri(uriString), XenAdminConfigManager.Provider.GetProxyFromSettings(connection), true, 0)); }
private Stream connectGuest(string ip_address, int port) { return(HTTP.ConnectStream(new Uri(String.Format("http://{0}:{1}/", ip_address, port)), null, true, 0)); }