Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can silverlight detect or communicate across browser instances?

Tags:

silverlight

User starts up a silverlight application in their browser by navigating to a given URL.

User then opens another browser and starts up the same silverlight application by navigating to the same URL.

Can the second instance of the application detect that there is already an instance running on the same computer?

Can it detect itself if both applications are running within the same browser instance?

I would expect the answer to be 'no' but thought that i would ask it anyway. Otherwise i believe that i will have to setup a webservice and have each instance register itself and send requests to other instances from the same IP. does that sound reasonable?

like image 458
yamspog Avatar asked Dec 22 '22 03:12

yamspog


1 Answers

I think you may be looking for LocalMessageSender and LocalMessageReceiver. I believe these are new classes in Silverlight 3 allowing two Silverlight applications running on the same local computer to communicate.

More detail: Communication Between Local Silverlight-Based Applications (msdn)

like image 97
ChronoPositron Avatar answered May 24 '23 01:05

ChronoPositron