Pocket PC Passing credentials to webservice?

J

Jay Balapa

Hello,

Win Forms app is able to connect to my webservice passing credentials as
follows-

myService.Credentials=System.Net.CredentialsCache.DefaultCredentials;

Compact Framework does not have a CredentialsCache class. Is there an
alternate way of passing default credentials?

Thanks.
jay
 
S

Steve B.

Since DefaultCredentials pass a NTLM token to the server, the device cannot
use defaultcredentials.

You will have to either allow anonymous acces on the webservice, or use
another authentication mecanism such certificate or asking the user a
user/password...

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top