コード例 #1
0
ファイル: XSVNCScreen.cs プロジェクト: zhaoyingpu/xenadmin
        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));
        }
コード例 #2
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));
 }