What are the necessary step that need to be performed in order to download content from within Silverlight? A collection independent files that contain XAML content, media assets, and other application information can be downloaded from within Silverlight. To download the content, the System.net.WebClient class is used.
- Request the content. The WebClient class empowers you to request the content. - Specify how to load the content.
To download string element content use DownloadStringAsync method. This method starts downloading the process which runs asynchronously. Requesting Binary Content
To download binary element content, use OpenReadAsync method. The contents includes compressed files, application modules and media files.
|