public static void SetBaseForRelativePaths(HtmlDom dom, string folderPath) { dom.BaseForRelativePaths = GetBaseForRelativePaths(folderPath); }