Basic Silverlight extension mechanism

How Silverlight extension mechanism works?

Silverlight extension brief architecture






Silverlight Extension Mechanism


  1. UiPath decides TargetApp is Silverlight


2.UiPath generates SlBrokers (seen as sllaunchers) which try to reach TargetApp


Seen in etl:


Seen in Debug View:



3. All fail, thus UiPath start injecting in the TargetApp




4. It enumerates the TargetApp’s dlls




5. Waits for a point to load ours (SLHook.dll)




6. SLHook starts listening



7. Injection succeeded, exit



8. SlBrokers from 2. resend queries and one of them (the pair) gets a response