Answer the question
In order to leave comments, you need to log in
C# change exe icon?
Is it possible to change the icon of an existing exe file using c#? I saw programs for this on the Internet, but I would like to try to do this myself.
For example, I have a test.exe file and I want to change its icon using a third-party program.
Answer the question
In order to leave comments, you need to log in
Try www.bome.com/products/restorator or ResHacker, as far as I know, .net assemblies have resources in the same way as in native files, i.e. the explorer looks for them by the same identifiers. Open the file - replace the icon, save, see the result. Just in case, make sure that the sizes of the new and old icons match.
It is possible that I’m not sure how any exe will fit, google for “replacement of C# exe resources”, for example, there is a bitmap replacement, but there is no fundamental difference, there is an icon lying around somewhere.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question