In the 5th part of the SilverBullet series, Timmy Kokke talks about the ApplicationServiceContext class, which can be very helpful detecting if your Silverlight 3 application is running offline. Here are the previous parts of Timmy's SilverBullet series: SilverBullet Part 1 – System.Environment, SilverBullet Part 2 – System.Json, SilverBullet Part 3 - System.Windows.Input.FocusManager, SilverBullet #4 – System.Windows.ApplicationIdentity.
When running Silverlight outside the browser, there’s the possibility that the computer that is running the applications is disconnected. This is where the System.Windows.ApplicationServiceContext class comes in. This class represents the initial state when the application is started. It has no methods of any significance, only two read only properties.