Rquest.Url就可以取到当前的浏览器的网址,判断是否合法Url的话一般是使用正则表达式

解决方案 »

  1.   

    according to .NET Framework documentation, 
    "...
    The Uri class stores only absolute URIs (for example, "http://www.contoso.com/index.htm"). Relative URIs (for example, "/new/index.htm") must be expanded with respect to a base URI so that they are absolute. 
    ..."
      

  2.   

    http://www.regxlib.com/Default.aspx
    这里搜索keyword为url可以找到你要的答案
      

  3.   

    我是在window form里的...
    还是有些模糊