Can Silverlight modify a file on a user's local computer?

I am considering writing an application in C # /. NET, which will programmatically modify the XML file on the user computer, and I'm trying to determine whether Silverlight (and which versions in which modes) will work for this task.

Here's the workflow:

  • User selects file
  • Application modifies file
  • The application saves the file by overwriting the original file

Is this possible in Silverlight? If so, in which versions and under what conditions?

+5
source share
6 answers

. , , , . , , .

, , , .

, SL3 , .

, , " " , , .

SL4, OOB , , , , My Documents.

Edit

, , OpenFileDialog , , SaveFileDialog Write.

+2

Silverlight "".

" ". Silverlight 2 .

Silverlight 4 " ", " ", " ", " " .. (http://weblogs.asp.net/nmarun/archive/2009/11/27/local-file-access-silverlight-4.aspx)

+3

SL3 , SL4 , MyDocs, MyPictures ..

+1

Silverlight . , , :

.NET Framework , , , . .NET Framework , -. , . , , , - - , .

:

Silverlight

+1
source

OS’s built-in file open / save dialog allows Silverlight to access any file that the user specifies by returning a stream of files to which the Silverlight application has access.

In addition, the Silverlight application has access to its isolated storage.

+1
source

sl 4 has some features

http://www.silverlight.net/learn/videos/silverlight-4-beta-videos/local-file-access/

but not shared access to the local file system

0
source

All Articles