Pocket PC Passing credentials to webservice?

  • Thread starter Thread starter Jay Balapa
  • Start date Start date
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
 
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
 
Back
Top