how the digest authentication work

hi
i have host wcf service on iis 6.0 and secure as digest authentication below is my server side
web.config.



 

 
   

   

 

 
   
     
       
         
       

     

   

 

 

     
       
         
                                   proxyCredentialType="Digest" />
         

       

     

   

   
     
       
            contract="WsServiceContract.ICustomer">
         

           

         

       


       
     

   

   
     
       
         
       

     

   

   
 

 
   
 





an consuming on client side like this





CustomerSale objService = new CustomerSale ();
               
                    dt.TableName = "client";
                    String MyURI = "http://url/ClientSale.svc";
                    WebRequest WReq = WebRequest.Create(MyURI);
                    WReq.Credentials = new NetworkCredential("myusername","mypass");
                    objService.UpdateSales();