I have a window service that Inherits System.ServiceProcess.ServiceBase. While running in debug mode (havent tested compiled), the thread does not see the current user credentials.
I need the credentials so I can set up the WebProxy and I would prefer to use the account that service is running under instead of passing the user and pwd as a string.
Can someone help me figure out why the code running in the class the inherits from ServiceBase does not have have the credentials of the logged in user?