I know that user accounts in Windows 7 are limited by default, so the program cannot just write anywhere in the system (as was possible in Win XP).
But I thought it was possible that, for example, a C # application is allowed to write its own exe directory or its subfolders at least inside it (not all of these are “user settings” or should be written to “MyDocuments” ...).
So, currently my C # application is throwing a UnauthorizedAccessException when trying to write inside an exe file.
Is there anything you can do in C # code to allow writing inside an exe file?
fritz source
share