开发者

C# question - how do I convert a PageURI & Href to an absolute URL/URI?

How do I convert a PageU开发者_JS百科RI & Href to an absolute URL/URI in C#?

i.e. I am scanning a web page at a given PageURI and in the HTML have link/node with a HREF, and want to translate this HREF into a valid absolute URI.

Background - note the trouble I was having here


new URI(uri, string) does it

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜