I decompile it from dnSpy idk how to write it correctlly

xcar13

New member
Joined
May 1, 2021
Messages
1
Programming Experience
1-3
try
{
Task.Run(delegate ()
{
Program.<> c.<< Main > b__8_0 > d << Main > b__8_0 > d = new Program.<> c.<< Main > b__8_0 > d();
<< Main > b__8_0 > d.<> t__builder = AsyncTaskMethodBuilder.Create();
<< Main > b__8_0 > d.<> 4__this = Program.<> c.<> 9;
<< Main > b__8_0 > d.<> 1__state = -1;
<< Main > b__8_0 > d.<> t__builder.Start < Program.<> c.<< Main > b__8_0 > d > (ref << Main > b__8_0 > d);
return << Main > b__8_0 > d.<> t__builder.Task;

}).GetAwaiter().GetResult();
}
catch (Exception ex)
{
Program.pushError("Something went wrong!");
Console.ReadKey();
}
 
Why would you be disassembling a program and then trying to rewrite it?

Also if your disassembler is worth its salt, the generated disassembly should be compilable and runnable? Why not just use what it generated?

Or are you trying to hide the fact that you disassembled something? You want to make it look like you wrote it on your own?
 
Back
Top Bottom