Commonapplicationdata environment variable
This seems to have happened completely randomly. Just something to consider. Changing the path with SHSetKnownFolderPath is a global change for a given user commonapplicationdata environment variable your app requires admin rights). The Environment class of the System namespace is handy for getting and settingvarious operating system\xC3\xA2\xE2\x82\xAC\xE2\x80\x9Crelated information. You variab,e use this class commonapplicationdata environment variable retrieveinformation such as command-line arguments, exit codes, environment variablesettings, contents of the call stack, time since last system boot inmilliseconds (tick count), and version of the CLR.
Members of the Environmentclass are described in Table 21.13. This method retrieves the path to a system special folder, commoonapplicationdata as Program Files, Programs, System, or Startup, which can be used to access common information.