I am facing problem to get window credential in Window service.
My requirement is that I need to call a web service method in window service. Web service required window credential.
I am using below line:
webService.Credentials = CredentialCache.DefaultCredentials;
The above line is working in window application for same scenario but using window service we are not able to fetch data from web service.