//When an ISmoothStreamingCache object is started and a request for data is issued, the Silverlight Smooth Streaming Client will call each of the methods in the order: BeginRetrieve, EndRetrieve, BeginPersist, EndPersist
 private void SmoothPlayer_Loaded(object sender, RoutedEventArgs e)
 {
     cache = new IsoStorageCache();
     SmoothPlayer.SmoothStreamingCache = cache;
 }
        //When an ISmoothStreamingCache object is started and a request for data is issued, the Silverlight Smooth Streaming Client will call each of the methods in the order: BeginRetrieve, EndRetrieve, BeginPersist, EndPersist

        private void SmoothPlayer_Loaded(object sender, RoutedEventArgs e)
        {
            cache = new IsoStorageCache();
            SmoothPlayer.SmoothStreamingCache = cache;
        }