Silverlight out of browser read local file
Sign in Email. Forgot your password? Search within: Articles Quick Answers Messages. Technical Blog. View Original. Tagged as C. Stats Kunal Chowdhury «IN» Rate me:. Please Sign up or sign in to vote. Background In Silverlight 4, it was possible to only access files and folders present inside a fully trusted folder like My Documents. Case Study Let's take a case study. Here is the code snippet of the same: XML.
Copy Code. Kunal Chowdhury «IN». Technical Lead. First Prev Next Mr kunal ysnraju 9-Jan Kunal Chowdhury «IN» 9-Jan Go to top. Collectives on Stack Overflow. Learn more. Silverlight 4: Read in file from local system without being OOB? Ask Question. Asked 10 years, 6 months ago. Active 10 years, 6 months ago. Viewed 1k times. Relative ; docViewer. LoadDocument resource. Stream ; This silverlight application will be hosted through a website deployed on a server.
ToString ; docViewer. Open ; docViewer. Improve this question. Can you show your current code? Where and how does it fail? Do you just need to read these files not save edits?? Add a comment.
Active Oldest Votes. Improve this answer. Aardvark Aardvark 8, 7 7 gold badges 44 44 silver badges 63 63 bronze badges. Accessing a web service developed in. As for your second question about the file living on the same server as the SL host site: SL code runs on the client. It is delivered down to the client by a web server, but that's about it.
The only special relationship between the SL app and it's host web site WRT security is that you are free to access web services on that machine. I wonder is ASP. NET isn't a better technology choice for what you want to do — Aardvark.
I ended up taking the original advice of using network means of actually retrieving the file. Thanks in Advance. View All. How to read and write files in Silverlight 4. Jaganathan Bantheswaran Updated date Feb 09, Next Recommended Reading.
Net Core 6. Create A. Understanding Thread Starvation in.
0コメント