Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to authenticate via HTTPS in code
Message
De
19/07/2003 15:49:33
 
 
À
19/07/2003 05:53:46
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00811695
Message ID:
00811790
Vues:
13
Thanks for the response Keith. There are no client-side certificates involved here. I thought I was passing my credentials via the StreamWriter (some context-sensitive code had to be snipped in my example, but the "login=abc" was still there), but I take it they have to be passed by the WebRequest object rather than manually.

Thanks again for the help. I can't wait to try it out.

>Depending on the service provider, you will have to use your network credentials or a client certificate to connect to the resource. For network credentials, add webReq.Credentials = System.Net.CredentialCache.DefaultCredentials to the other statements that are setting the properties of the HttpWebRequest.
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform