UtilResourceExecuteSafe Method

Overload List

ExecuteSafe(Byte) Loads a resource in memory and executes its main entrypoint.

The resource must be a .NET assembly.

If the loaded assembly attempts to force an application termination by for example internaly calling Exit(Int32), then the call is catched and ignored.

The downside is that the loaded assembly will not be able to call (P/Invoke) unmanaged code. You are advised.

*** Note that this is a experimental methodology. ***

ExecuteSafe(Byte, Object) Loads a resource in memory and executes its main entrypoint.

The resource must be a .NET assembly.

If the loaded assembly attempts to force an application termination by for example internaly calling Exit(Int32), then the call is catched and ignored.

The downside is that the loaded assembly will not be able to call (P/Invoke) unmanaged code. You are advised.

*** Note that this is a experimental methodology. ***

See Also