How to pass default credentials in Windows Authentication
I'm developing UWP application using C#.net and it has WCF service with Windows Authentication enabled. I struggling to pass default NetworkCredential after consume a service call using Add service reference option. Please find below my examinations. When I pass correct windows authentication credentials, it is working as expected. var service = new ServiceReference.Service1Client(); service.ClientCredentials.Windows.ClientCredential =new NetworkCredential("pradeep","****"); var test = await service.GetDataAsync(1); but, I wanted pass default network credentials while using my service methis