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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:56:03+00:00 2026-06-13T16:56:03+00:00

Is it possible to download a file over Https in Windows phone , post

  • 0

Is it possible to download a file over Https in Windows phone , post method with username and password , I tried this code but it returns an error.
Note that the urlLink is an “https://” Link.

   Uri uri = new Uri(urlLink);
        HttpWebRequest r = (HttpWebRequest)WebRequest.Create(uri);
        r.ContentType = "application/x-www-form-urlencoded";
        r.Method = "POST";
        string parameters = "username=admin&password=123";
        r.BeginGetRequestStream(delegate(IAsyncResult req)
        {
            var outStream = r.EndGetRequestStream(req);

            using (StreamWriter w = new StreamWriter(outStream))
              w.Write(parameters);

            r.BeginGetResponse(delegate(IAsyncResult result)
            {
                try
                {
                    HttpWebResponse response = (HttpWebResponse)r.EndGetResponse(result);

                    using (var stream = response.GetResponseStream())
                    {
                        using (StreamReader reader = new StreamReader(stream))
                        {

                        }
                    }
                }
                catch (Exception exc)
                {
                    string ee = exc.Message;

                }
            }, null);
        }, null);

Error :

The remote server returned an error: NotFound.

  • 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-13T16:56:04+00:00Added an answer on June 13, 2026 at 4:56 pm

    Because it’s a https (uses SSL), the phone requires the server’s certificate to be downloaded and installed before any access to it is allowed.

    EDIT: Added my comment to this answer, and removed the comment.

    Here’s a link to MSDN documentation about the subject http://msdn.microsoft.com/en-us/library/ms731899.aspx

    If the certificate is self-signed, you can download and install it with the emulator, provided you have the certificate uploaded to somewhere you can download it from. Do notice, that the certificate needs to be installed everytime the emulator is started (not everytime the application debug is started though).

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

Sidebar

Related Questions

Is it possible to download a file from a website in Windows Application form
I have this code here to allow the users to download files over my
I would like to know if it's possible to download a file from a
Is it possible to let your user download a file with a different name?
I have a simple question Is it possible to download a specific resource file
is it possible to upload a file and subsequently when receiving response download the
Does anyone know if it is possible to download the latest robocopy for Windows
Once you have uploaded your source code to Heroku, is it possible to download
is it possible to download in a file all the table definition(create Statements) and
Question Is it possible to stream an uploading file over PHP, so that an

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.