You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thexappy edited this page Nov 23, 2025
·
3 revisions
✳️ Setup
To start playing with a remote process you need to create a RemoteApp object like so:
// Taget app is running .NET (Managed app)Processtarget=Process.GetProcessesByName("OtherDotNetAppName").Single();RemoteAppremoteApp=RemoteAppFactory.Connect(target,RuntimeType.Managed);// Taget app is running MSVC C++ (Unmanaged app)Processtarget=Process.GetProcessesByName("OtherMsvcAppName").Single();RemoteAppremoteApp=RemoteAppFactory.Connect(target,RuntimeType.Unmanaged);
RemoteApp is your root object for any remote interaction.
This object represents the "link" between your app and the attachee. RemoteApp implements IDisposable and it should only be disposed once all remote
interactions are complete. Disposing breaks the link between the apps and, for
example, retrieved objects (which are not of a primitive type) will stop working once that happens.
Make sure to use the correct value for the runtime parameter.