How to edit hardcoded string in compiled dll?

I have one compiled dll that I need to modify a bit. It was written by me six months ago, but I lost the source code. It has one hard-coded string (this is the file name)

I need to change it from TestPage.htmlto TestPage1.html(it's not much more)

How to do it? The line is anonymous, the corresponding code fragment:

... + folder + "TestPage.html"

There is no variable to which it is assigned.

Thanks in advance.

EDIT: I don't want to recompile C # code after retrieving it with Reflector tools!

+5
source share
3 answers

CFF Explorer, .NET. UserString ( .NET Directory > MetaData Streams > #US).

UserString , . find . : ( ). , UserString . , , , TestPage1.html , .

+6

Reflector ( ), IL # ( CLR), - .

+8

You can use the free ILSpy tool to decompile code and resources from a .NET-dll file.

+4
source

All Articles