Can I change the contents of an embedded resource (text / xml file) in a .NET application

The name is pretty much a question :-)

I have included the xml file and txt file as resources in my .NET application. I am still debugging other things, so I cannot run and check this.

So, just asking if I can change these files at runtime after deployment?

+3
source share
2 answers

Nope. An embedded resource is a collection of bytes in an assembly.

This is like trying to change the code in your assembly after compilation.

It would be doubly bad if your assembly were signed.

, (satellite) , .

?

+4

, .

, , , , ( ).

+3

Source: https://habr.com/ru/post/1711183/


All Articles