I’m writing an OOB app using Silverlight 5 and I want to be able to bind files from the local file system to an Image control, something like
<Image Source="e:/user_data/sprites1.png" Stretch="Uniform"/>
Is this possible? If so how can I do it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If it runs from desktop than yes, you can configure permissions in the project but if it runs from web browser, than absolutely it is not possible to access files from any folder on file system.
Here it is:
http://blogs.silverlight.net/blogs/msnow/archive/2010/04/20/tip-of-the-day-112-how-to-configure-your-silverlight-app-to-run-in-elevated-trust-mode.aspx