In normal console app I have this
Environment.SpecialFolder.LocalApplicationData is C:UsersSimonAppDataLocal
In Windows service
Environment.SpecialFolder.LocalApplicationData
is C:Windowssystem32configsystemprofileAppDataLocal
How can I specify same path in both type of application?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…