c# - Is Silverlight able to change a file on a local user's computer? -


i considering writing application in c#/.net programmatically alter xml file on user's computer , trying determine if silverlight (and versions, in modes) work task.

here's workflow:

  • user selects file
  • application modifies file
  • application saves file, overwriting original file

is possible in silverlight? if so, in versions , under conditions?

some answer here concentrate on isolated storage. if no other application need access data perhaps isolated storage answer you. link blog describing how isolated storage used in nutshell.

i suspect possibly isn't want since have user select file.

certainly in sl3 can have user select file , can read it.

however in order save again have have show "save file" dialog user, aquire file stream can write to.

in sl4 running oob elevated privs can save files directly in users folder such documents.

edit

just absolutely clear, cannot write file acquired using openfiledialog read, cannot read file acquired using savefiledialog write.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -