by Michael Wolf via Michael Wolf on 11/20/2009 6:11:31 AM
One of the pains in silverlight 3 out of browser was the strict sandbox that was put in place. Although well meaning, this put a heavy restriction on the type of rich desktop like experiences we could produce. Just as in the api limitations in Adobe Air, there were and are solutions which involve local socket services (as discussed in this blog entry last year: http://www.cynergysystems.com/blogs/page/michaelwolf?entry=breaking_the_sandbox_in_silverlight ). However now in silverlight 4 we will have a much better solution, definitely not perfect but better. Firstly as mentioned in our drag and drop post (http://www.cynergysystems.com/blogs/page/michaelwolf?entry=silverlight_4_drag_from_desktop ) you can drag files directly into the out of browser window, which gets us closer. However the biggest improvement here is the inclusion of elevated privileges, which allows you to get access to the local file systems at a pretty broad level, but more importantly access to locally registered com objects. This means direct access to integrate with things like word or excel, like you will see in most demos, but also the huge community of com objects like skype. When I first saw this feature, I remembered that back in the bad old silverlight 1.1 days I investigated using Skype to make phone calls via the java script bridge. What I found was that skype makes available a very rich com api known as SKype4Com. So while on the plane back from PDC09 I set out at integrating this into Silverlight 4. The screencast below shows the results of opening, changing focus of, and then dialing the skype test user using the Skype4Com api and the Silverlight 4 elevated privileges support. In order to utilize the Skype4Com api with in silverlight 4, there are a couple steps you need to follow to begin:
Original Post: Silverlight 4 dials in skype
The content of the postings is owned by the respective author. Silverlight Feeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on Silverlight Feeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.