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

  • Home
  • SEARCH
  • 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 3631436
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T00:23:49+00:00 2026-05-19T00:23:49+00:00

I need to access some web api from my desktop application for authentication. For

  • 0

I need to access some web api from my desktop application for authentication. For example, facebook api, it requires to redirect to facebook page for allow permission from user and then it redirect back along with an access token which is needed for accessing private data. Now, on facebook documentation they alreasy metioned that, webbrowser class of .NET framework can help in this case. THere are two webbrowser class, one for wpf application, at msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser.aspx, another is for windows forms application, at msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx

Now, My question is, how can i use this to make a broser like popup of the url and after it back , retrieve the url again.

Regards

  • 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-19T00:23:50+00:00Added an answer on May 19, 2026 at 12:23 am

    Well, I will list the steps for you, and it’s easier that you may think:

    • Create a new Form that will be used to house the WebBrowser control and style it to look like a popup.
    • Add the WebBrowser to the form – by default, this will fill the entire forms layout
    • Use the Navigate() method on the WebBrowser to go to the needed URL
    • Once the user has clicked the button, check the Url property on the WebBrowser and get the token (Hint: you can use the Navigated event to determine when the page is (re)loading.)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently, web application need to offer some kind of cross-domain HTTP header to access
I need to store some simple properties in a file and access them from
To implement data access code in our application we need some framework to wrap
I'd like to access some Google API's from within an iPhone native app. I'm
I'm using GWT as web development framework. I need to access some REST services
I need to access some members marked internal that are declared in a third
There are some text files(Records) which i need to access using C#.Net. But the
I need to access RMI methods from a client front end. For different reasons,
I need to access the bluetooth network interface from Java. All local network interfaces
I need to access a mysql database from c# code but I would prefer

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.