Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8759833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:54:06+00:00 2026-06-13T14:54:06+00:00

In HttpTests there’s a way to authenticate using request.Credentials = CredentialCache.DefaultCredentials; is there something

  • 0

In HttpTests there’s a way to authenticate using

request.Credentials = CredentialCache.DefaultCredentials;

is there something similar in Html Agility Pack? I want to test my localhost project but it’s receiving a:

HTTP Error 401.2 – Unauthorized You are not authorized to view this page

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:54:07+00:00Added an answer on June 13, 2026 at 2:54 pm

    Is there a way to authenticate a windows authenticated user in Html Agility Pack?

    No,

    What is exactly the Html Agility Pack (HAP)?

    This is an agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT.

    It is a .NET code library that allows you to parse “out of the web” HTML files. The parser is very tolerant with “real world” malformed HTML. The object model is very similar to what proposes System.Xml, but for HTML documents (or streams).

    Html Agility Pack now supports Linq to Objects (via a LINQ to Xml Like interface).

    Sample applications:

    Page fixing or generation : You can fix a page the way you want, modify the DOM, add nodes, copy nodes, well… you name it.

    Web scanners : You can easily get to img/src or a/hrefs with a bunch XPATH queries.

    Web scrapers : You can easily scrap any existing web page into an RSS feed for example, with just an XSLT file serving as the binding. An example of this is provided.

    Html Agility Code Examples

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using OCMock trying to test the behavior of NSURLConnection. Here's the incomplete test:
I'm using a MySQL database and php for my java/android app. I haven't got
Im using HttpCLient to autoLogin a website. I an getting statusCode as '200'. API
I'm trying to implement simplest HTTPS communication program. There are a lot of examples
I have a tomcat6 servlet that manages incoming HttpPosts this way: public void doPost(HttpServletRequest
I'm developing a function that extracts a date from a String and convert it
I have Service and AsyncTask in it, which due to check updatings on the
I migrated from 1.2 to 2.0 and I moved my managed bean names and
I'm trying to run Jettys ServletTester in my JUnit test. I created a simple
I have this static function which basicly makes a connection to a webpage, send

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.