Consume a .htaccess-proctected webservice in C#

Jul 20 2007 11:12 AM
Hello! I'm building a webservice in PHP, which is protected by a .htaccess and .htpasswd-file at my Apache webserver. I thought this was a pretty simple way to protect my webservice. But this gave me some trouble. How do I handle this type of protection when I implement my client, which is a Windows application build with C#. I have spent many hours trying to figure this out, and searched on this, without any luck. So I'm asking you, how can I make this work. Or is it even possible? Regards, Martin Thern