By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,061 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

Load an exe file and run it from memory

P: 1
Hey guys , how i can't load exe file (bytes) and run it from memory :)
something like :

Expand|Select|Wrap|Line Numbers
  1. byte[] test = convert.formbase64string("server bytes")
  2. byte[] test = GetAssemblyAsBytes(test)
  3. assembly gggg = assembly.load(test)
  4. gggg.enterpoint().invok(null,null)
but i keep getting errors .
anyone can help ?! .
Oct 9 '14 #1
Share this Question
Share on Google+
2 Replies


iam_clint
Expert 100+
P: 1,208
What are the errors you are getting?
Oct 12 '14 #2

Frinavale
Expert Mod 5K+
P: 9,731
What programming language are you using?

Your code looks like C# but you posted in VB.NET and you aren't using ; so your syntax is not correct for either language...

-Frinny
Oct 16 '14 #3

Post your reply

Sign in to post your reply or Sign up for a free account.