Difference between 'SpecialFolder.LocalApplicationData' and 'SpecialFolder.ApplicationData'?

后端 未结 3 1981
故里飘歌
故里飘歌 2020-12-04 23:37

On my system, %AppData% leads to ApplicationData which is C:\\Users\\\\AppData\\Roaming

But there is also C:

3条回答
  •  半阙折子戏
    2020-12-05 00:19

    According to MSDN the difference is that LocalApplicationData stays on the local machine and does not roam... ApplicationData does roam for example if the user logs onto the domain from a different computer it will be synced...

    The LocalLow refers to specific situations likea BHO running in "Protected Mode" of IE...

    For a standard application always use ApplicationData. Use LocalApplicationData for things that should NOT roam with the user...

提交回复
热议问题