File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ ResourceManager rm = new ResourceManager("resource", Assembly.GetExecutingAssembly());
3+ byte[] appBytes = (byte[])rm.GetObject("%appname%");
4+
5+ //Loading App
6+ int appSize = %appsize%;
7+ MemoryStream memStr = new MemoryStream(appBytes);
8+ var gStream = new %mode%;
9+
10+
11+
12+ byte[] tAppBytes = new byte[appSize];
13+
14+ gStream.Read(tAppBytes, 0, appSize);
15+
16+ gStream.Close();
17+
18+ //End Loading App
Original file line number Diff line number Diff line change 1+
2+ //nothing passed on yet.
3+
4+ try {
5+ Assembly.Load(tAppBytes).EntryPoint.Invoke(null, new object[] { args });
6+ } catch(Exception ex)
7+ {
8+ Assembly.Load(tAppBytes).EntryPoint.Invoke(null, new object[] {});
9+ }
10+
11+ tAppBytes = null;
Original file line number Diff line number Diff line change 1+ [assembly: AssemblyTitle("")]
2+ [assembly: AssemblyDescription("")]
3+ [assembly: AssemblyConfiguration("")]
4+ [assembly: AssemblyCompany("")]
5+ [assembly: AssemblyProduct("")]
6+ [assembly: AssemblyCopyright("Copyright ©")]
7+ [assembly: AssemblyTrademark("")]
8+ [assembly: AssemblyCulture("")]
9+
10+ // Version information for an assembly consists of the following four values:
11+ //
12+ // Major Version
13+ // Minor Version
14+ // Build Number
15+ // Revision
16+ //
17+ // You can specify all the values or you can default the Build and Revision Numbers
18+ // by using the '*' as shown below:
19+ // [assembly: AssemblyVersion("1.0.*")]
20+ [assembly: AssemblyVersion("1.0.0.0")]
21+ [assembly: AssemblyFileVersion("1.0.0.0")]
You can’t perform that action at this time.
0 commit comments