[VB/C# .NET] Embedded Resource

I'm guessing Gunz? And also guessing you're using the ijji executables?
Every file has an exncryption based on it's file size, type and algorithm (Check the output when using the program for the updating system), try on with that.
 
I'm currently working an Launcher all works fine but the problem is when i try to start me embedded client.

I have the runnable embedded but, i dont know how to start it.

Can some of you help me with it?

The only way is to save it to disk, after which you can use the System.Diagonstics.Process class to execute it.
 
Code:
Assembly assembly = Assembly.GetExecutingAssembly();
         // use full resource name in next line 
         Stream stream = assembly.GetManifestResourceStream("myexe.exe");
         byte[] ba = new byte[stream.Length];
         stream.Read(ba, 0, ba.Length);
         Assembly embedded = Assembly.Load(ba);
          // use fully qualified name of type containing Main() method in next line
         Type t = embedded.GetType("Program");
         BindingFlags bf = BindingFlags.InvokeMethod | BindingFlags.Static |   BindingFlags.Public | BindingFlags.NonPublic;
         object[] args = new object[]{new string[]{"someArg"}}; // use actual argument here
         t.InvokeMember("Main", bf, null, null, args);

This part of the link that Mr.Lucifer posted helpt alot.

You need to change some stuff in it to match you file, but its working
 
Back