I need to know where the clickonce application got installed. Is there a way to find this through C#?
Asked
Active
Viewed 1,278 times
2 Answers
5
For reference, the physical files end up in this directory: C:\Documents and Settings\userprofile\Local Settings\Apps in Win XP and C:\Users\\AppData\Local\Apps for Windows 7.
You can also read more about this in this question.
0
Try Assembly.GetExecutingAssembly()
and then check the Location
property of the result. This will return the path of the currently executing assembly.

Botz3000
- 39,020
- 8
- 103
- 127