Hack Forums
[.NET] [TUT] Dynamic Multi Downloader { CODEDOM } Unleash the true power of CodeDom! - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] [TUT] Dynamic Multi Downloader { CODEDOM } Unleash the true power of CodeDom! (/showthread.php?tid=1322286)



[TUT] Dynamic Multi Downloader { CODEDOM } Unleash the true power of CodeDom! - Zeroゼロ - May 26, 2011




I'll will show you how to dynamically create the classical multi-downloader for spreading your bots and servers, whatever. But instead of doing it like other CodeDom example, we won't be doing a string replacement or any other sort of beginner stuff like that.

We will be generating the codes in a much more suitable and efficient way, because we will have one algorithm that is capable of outputting the code to VB.Net, C#, F# etc. Now that is the power of CodeDom

Unfortunately, this is too massive to fit into a single thread, so I'll be using an image, with every action commented. (Except the obvious ones)

Spoiler (Click to View)

I am happy to help any one with trouble understanding the source, so PM me.
Please leave constructive feedback thanks. Going to bed now... 😕

Also please bear in mind that MSDN is a great place to look up .Net Framework examples, also CodeProjects and Google.

Oh yeah, those who don't Control C and/or leech and PM me for the raw source.

Happy Coding guys!




* - Modesty - May 26, 2011

This is quite cool, and since it isn't such a large, this method of dynamically creating assemblies is appropriate.

Good job :)


* - pr0t0typ3 - May 26, 2011

Actually a pretty nice guide, but it is inefficient. Using a source template and replacing the content is simply easier and faster.


* - Zeroゼロ - May 26, 2011

(May 26, 2011 04:00 AM)pr0t0typ3 Wrote:  Actually a pretty nice guide, but it is inefficient. Using a source template and replacing the content is simply easier and faster.

Yeah I was like "what the hell was I saying". 😖 Guess I was too sleepy. 🤣


* - Zeroゼロ - May 28, 2011

One tiny little harmless ... 😖


* - Ph03.nix - May 28, 2011

Wow, very innovative use of codedom.
Thanks for sharing!


* - hacphongthan - May 30, 2011

very detail and useful
thanks