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 6119669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:34:48+00:00 2026-05-23T15:34:48+00:00

I am using webbrowser control , and i get list of all the url

  • 0

I am using webbrowser control , and i get list of all the url of all the profiles from the search result.

After this is there any way that i use httpwebrequest to get the data from the urls?

I wanted to use the Linked in search profile api but that is very confusing.
Also i tried using httpwebrequest but it takes me to the linkedin login page.

I was thinking of any way that as i signed in to linkedin using the webbrowser control maybe using that information of webbrowser and adding with my request to pretend to be logged in .

Any ideas? Please help

  • 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-05-23T15:34:48+00:00Added an answer on May 23, 2026 at 3:34 pm

    The HttpWebRequest sent you to the login page, because there isn´t the cookie with the validation.
    So, you’ll can connect using WebBrowser control and get the cookie, then put the cookie in the webrequest

            webBrowser.Navigate(someUrl);
    
            ...
    
            CookieContainer cookies = new CookieContainer();
            foreach (string cookie in webBrowser.Document.Cookie.Split(';'))
            {
                string name = cookie.Split('=')[0];
                string value = cookie.Substring(name.Length + 1);
                string path = "/";
                string domain = "yourdomain.com";
                cookies.Add(new Cookie(name.Trim(), value.Trim(), path, domain));
            }
    
    
            HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
            request.CookieContainer = cookies;
            ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using WPF WebBrowser control. How can I detect all outgoing Http GET
When using .NET's WebBrowser control, how can I get the entire HTML of the
I'm developing automation program using winforms webbrowser control. I am able to get the
I'm using Webbrowser control to login to HTTPS site with untrusted certificate. but I
Without using a WebBrowser control, how could I execute a JavaScript function, that is
I am using the webbrowser control in winforms and discovered now that background images
I'm using th WebBrowser control in the .net 2.0 framework. Is it possible to
I am using the webbrowser control in visual studio. I think it is a
I'm hosting some web content in a WPF app using the WebBrowser control (or
I'm automating form login in a certain site using the WebBrowser control. Having the

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.