How to collect the decompiled program?

Hi all. In programming is not strong, therefore I ask strongly do not kick)
Are fitter in the company-provider. There is a program for testing of quality of the received multicast packets (IPTV), written for a different branch of our company. Accordingly, the program specify a different multicast group, and each time you run this program, you need to write your own.
The program decompiled using JetBrains dotPeek, got the following:

5cf28f99d5205747917779.jpeg

In form1.cs found the line and edited in Notepad++. Now the question is - how to assemble everything back?
March 23rd 20 at 18:40
2 answers
March 23rd 20 at 18:42
it is generally much easier simple change one constant to another to make right in the binary any hex editor. if there is a little more complicated and the value of the pieces going in what-thread editor .net IL.
But what if the length of the new constants more? Change binary one byte leads to its complete failure. - Thalia_Lockman commented on March 23rd 20 at 18:45
in terms of the change in size leads to failure? of course.

editors .net IL can correct the offset reference after you change the constants. I a hundred years ago used a thing called Dile, but certainly on this subject there was a bunch of tools later. - ayana13 commented on March 23rd 20 at 18:48
@ayana13, thanks) I will try) - Thalia_Lockman commented on March 23rd 20 at 18:51
March 23rd 20 at 18:44
You need at least to put Visual Studio(the easiest method), if it is going then VS will collect it.
You need at least to put Visual Studio

Despite the fact that in the question:
The program decompiled with JetBrains dotPeek
- Davonte_Gibs commented on March 23rd 20 at 18:47
@Davonte_Gibs, I set Visual Studio 2010. How to compile don't know) - Thalia_Lockman commented on March 23rd 20 at 18:50
open the project and Run button and if there are no errors, everything compiles. But if you have(and they are 150% is because it is impossible to decompile it 100%) - they need to fix it. - houston78 commented on March 23rd 20 at 18:53
@houston78, Yes, the program compiles with errors - Thalia_Lockman commented on March 23rd 20 at 18:56
Errors should be corrected - this is the work for the programmer. Usually after decorrelator easier to write for an analogy, than try to put in order what he has given. - houston78 commented on March 23rd 20 at 18:59
@houston78see, so this option is put on the back burner)
Is there any other way? I could not get a simple HEX-editor, because the new string length more than the old one. Binary course refused to run.
I tried dnSpy and Dile on the advice of @ayana13, but the string is not found. - Thalia_Lockman commented on March 23rd 20 at 19:02
Yes, easier in Python to write IMHO. Did like the chat on multicast for fun: https://gist.github.com/houston78/96b6bf19ff26f27a38... - houston78 commented on March 23rd 20 at 19:05

Find more questions by tags Reverse engineering