Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

Load outside App into a appdomain

Im playing with cross Appdomain stuff,  C# or VB
I can load an app/EXE (supposing I have its signature) into my area in its own Appdomain and gain access,
I need to do this with a unknown app and gain access
0
Micki-Weaver
Asked:
Micki-Weaver
  • 2
  • 2
1 Solution
 
ripahoratiuCommented:
If you don't know the application how would you load the application?
What do you mean by "gain access"? And by "my area"?
0
 
Micki-WeaverAuthor Commented:
Sorry, programmatically load software that is a "unknown", as in it can dramatically change over time in anyway, I know what I wish to load but I never know what it is.

if I load an app in to a appdomain I can gain access to it, such as trigger it's functionality, from my program

I have a process space I load my app into, in side that is a appdomain, I can make multiple appdomains, I can load other app's in to new appdomains, I call the process area my space

my problem:
i can load another app into a appdomain inside my area, and access it, but I have to have it's signature before I can load it, I need to work around this.
0
 
ripahoratiuCommented:
App signature? What's that?
An assembly is usually a file (.dll,.exe); or it might be a set of files, still with a .dll or .exe as main where the external files are referred through the manifest. From file or other stream, all you have to do is load the assembly (Assembly.Load[File]), it will manage the whole loading of the external files, if any. Then you can get the version, the manifest, the contained files, the Entry Point (if one exists), the Evidence with the permissions and  the types contained in the assembly just by call Get[Exported]Types and so on.
0
 
Micki-WeaverAuthor Commented:
thaks
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now