0

I have an Internet Explorer addin/plugin and need to use IsolatedStorage (.NET/C#/3.5) under "Low Privileges"/Protected Mode, so I plan to write to %USERPROFILE%\AppData\LocalLow

How can I select that path?

Baadal Gupta
  • 145
  • 1
  • 1
  • 7

1 Answers1

0

The principal behind using IsolatedStorage is not knowing exactly where the storage physically occurs. It's an abstraction over ideally any place in the file system where an application is allowed to write.

In order to get an IsolategStorage instance you should use IsolatedStorage.GetMachineStoreForApplication

JaredPar
  • 733,204
  • 149
  • 1,241
  • 1,454
  • Will the call to GetMachineStoreForApplication store the file in LocalLow? Also, if I call that method it returns an exception: " Unable to determine application identity of the caller". Thanks. – Baadal Gupta May 20 '11 at 00:42