In a regular console application, I have
Environment.SpecialFolder.LocalApplicationData is C: \ Users \ Simon \ AppData \ Local \
In windows service
Environment.SpecialFolder.LocalApplicationData is C: \ Windows \ system32 \ config \ systemprofile \ AppData \ Local \
How can I specify the same path in both types of applications?
c # windows-services
Simon
source share