I’m using HtmlAgilityPack
how can I get the domain from the following objects?
private Url mUrl { get; set; }
private HtmlDocument currentHtmlDocument { get; set; }
I mean the domain to which I should concatenate the
relative path of the js and css that appear in that page.
I believe that
Urlis aUri, so you can use its Host property.As to the
HtmlDocument, you should be able to get to theUrivia the DocumentUri property. Then just use itsHostproperty