I figured this would be a lot simpler then it is turning out to be.
I have an app written in C#.Net. The app consumes some me开发者_高级运维dia (audio). I have the installer for said app installing the audio in the app folder and everything is great. Except, the app folder is in the programs folders and therefore my app does not have permission to access it.
Where would be a suitable place to store my media after install so that the app can access it with out issues.
Thanks in advance!
Store it in either the ApplicationData\YourApp or LocalApplicationData\YourApp folders.
You can use the Environment.GetFolderPath() method to obtain the folder path at runtime, as shown in this Environment.SpecialFolder MSDN documentation.
精彩评论