Where is .NET “Isolated Storage” stored?

后端 未结 7 2204
离开以前
离开以前 2021-02-02 07:51

Where would the physical files be?

7条回答
  •  日久生厌
    2021-02-02 08:30

    Location differs per IsolationStorage scope

    Local user     [LocalApplicationData]\IsolatedStorage
    Roaming user   [ApplicationData]\IsolatedStorage
    Machine        [CommonApplicationData]\IsolatedStorage
    

    The folders can be retrieved by Environment.GetFolderPath method.

    Windows 2016 has it like this

    Local user     C:\Users\\AppData\Local\IsolatedStorage
    Roaming user   C:\Users\\AppData\Roaming\IsolatedStorage
    Machine        C:\ProgramData\IsolatedStorage
    

    More details can be found here.

提交回复
热议问题