I need to launch a Silverlight 4 OOB app through an existing WinForms application (using System.Diagnostics.Process
to execute sllauncher.exe
). I was hoping there would be some way to make sllauncher.exe
accept and pass on command line args to the OOB application, but I couldn't figure it out.
There's not an API provided by Silverlight to gain access to the command-line arguments.
This is where WPF (and maybe click-once) would be a better option.
Or consider storing the "data" needed to be passed in a local file accessible by the Silverlight application when it starts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With