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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:00:43+00:00 2026-05-16T11:00:43+00:00

I am searching how to send username and passwd to form based authorization in

  • 0

I am searching how to send username and passwd to form based authorization in C# console app. Login is like here:
http://www.zoneedit.com/auth/

i find this:
http://www.daniweb.com/forums/thread188864.html

but it does not working for JS popup. Is any options to programatically login in html page with form based authorization?

  • 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-16T11:00:44+00:00Added an answer on May 16, 2026 at 11:00 am

    The page you’re looking at is actually not “Form Based Authorization”, nor is it a Javascript pop-up. It’s actually a window generated by your web browser for making an authenticated HTTP request. You can verify this, if you wish, by using a tool like Fiddler to examine the HTTP headers that are generated when you send a request to zoneedit.com/auth.

    Basically what you need to do is: (translated from VB in the 4guys article)

    var req = new WebClient();
    
    var URL = "www.zoneedit.com/auth";
    var Username = "username_goes_here";
    var Password = "pasword_goes_here";
    
    var credentialCache = new CredentialCache();
    credentialCache.Add(new Uri(URL), "Basic", new NetworkCredential(Username, Password));
    
    req.Credentials = credentialCache;
    
    var results = System.Encoding.UTF8.GetString(req.DownloadData(URL));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Searching from google.com, like www.abc.com Search Result Rank the pages like Title..... Description... www.abc.com
I'm searching for a way to send printed documents directly to our Document Management
Searching here I found that this question was already asked , but I think
Searching with '[Delphi] source control' didn't return much, so here goes: For those of
Searching a Python dictionary based on the value first, to get a key output
I have username and password of user stored in my database, like one time
How can i send Chat invitation over GTalk using Google App Engine(Python), i was
I'm trying to send emails out using MIME::Lite with authentication. Here's the code snippet
I'm searching a nice way to send a java object to my rest web
I'm searching for an one-liner for mailing within jsp. I just wanna send 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.