DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Sending https:// Request in .Net Compact Framework 2.0

  1. #1
    Join Date
    Apr 2007

    Question Sending https:// Request in .Net Compact Framework 2.0

    Hi All,

    I am trying to send an https:// request from my .Net CF application. The code is as follows :

    HttpWebRequest request = ( HttpWebRequest )
    WebRequest.Create( );

    request.Method = "GET";

    HttpWebResponse webResponse =
    ( HttpWebResponse )request.GetResponse();
    catch( WebException e1 )
    MessageBox.Show( e1.Message );

    After sending the request im getting an exception that says "trust failure". I know that it is because of the root certificate is not installed on the device root certificate store.

    But if I want to validate server sertificate on the device, than how can I do this ?
    How can I read the certificate infomration sent by server on windows mobile pocketpc device ?

    Thanks in advance.

  2. #2
    Join Date
    Apr 2007


    Does anyone has any answer or i have to wait for years...

Similar Threads

  1. How can I install .NET framework 2.0 ?
    By in forum .NET
    Replies: 5
    Last Post: 10-26-2006, 09:24 AM
  2. .NET Compact Framework and PDA
    By vbtest5 in forum .NET
    Replies: 1
    Last Post: 02-19-2006, 10:19 PM
  3. C# & .NET
    By Vikas Garg in forum Careers
    Replies: 18
    Last Post: 07-13-2002, 11:58 AM
  4. Replies: 1
    Last Post: 06-22-2002, 11:32 AM
  5. Replies: 2
    Last Post: 05-03-2001, 11:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center