VB.Net EXE Run It from Memory
First Step Load the EXE file in one stream and read it as an array of bytes: Hide Copy Code // read the bytes from the application EXE file FileStream fs = new FileStream(filePath, FileMode.Open); BinaryReader br = new BinaryReader(fs); byte[] bin = br.ReadBytes(Convert.ToInt32(fs.Length)); fs.Close(); br.Close();...
read more