views:

16

answers:

1

The question explains it all but here is some more info. I am trying to use 4sq api with C# and need to send username password pair in every request. The API documentations says that "curl -u user:pass" does the job but how can I do it with WebClient? Don't have time to inspect the traffic, maybe someone knows about it...

WebClient.Credential doesn't work by the way.

Thanks.

A: 

Try using a CredentialCache

Onkelborg