| |
用http代理下载sourceforge的cvs仓库[原理+C#代码]
|
日期:2008年8月29日 作者:
查看:[大字体 中字体
小字体]
|
Console.ForegroundColor = ConsoleColor.DarkGreen; Console.WriteLine("[Getting Content] " + address); string src; try { src = wc.DownloadString(address); } catch(Exception ex) { Console.WriteLine(ex.Message); return null; } MatchCollection dirMc = regFindDir.Matches(src); //Add dirs Console.WriteLine("Find " + dirMc.Count + " Dirs"); foreach (Match aDirMatch in dirMc) { string aDir = aDirMatch.Groups["DIRURL"].Value; Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("[Enter DIR] " + aDir);
上一篇:借助HiddenText 确定CheckBoxList当前的操作类型及点击的CheckBox
下一篇:sql server日期时间函数
|
特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
[打印本页] [关闭窗口] 转载请注明来源:http://www.abcdown.net
| |