Answer the question
In order to leave comments, you need to log in
How to find out the path to the Application Data of the current user from the service?
Actually the question is higher. At what the Axes can be different, it is necessary that both XP and 7 work.
It is assumed that there is a client program that stores settings in AppData, and so, the service must find them.
Answer the question
In order to leave comments, you need to log in
The service can run even if no user is logged into the system. Or if two are logged in (for example, one left the computer with a working client, the second logged in). Therefore, you will have to redo the architecture of the service - for example, pass settings when establishing a connection between the client and the service.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question