It allows interaction with the current environment and platform. It is something to revere when developing intelligent agents that need to navigate the user's environment.
System.Environment.SpecialFolder is a well-known enum.
It contains the CSIDLs (these are not .NET "things", they are Windows "things").
CSIDL = Constant Special Item ID List. Here are some of the popular values.
Desktop 0 (logical desktop rather than physical file system location)
ApplicationData 26
LocalApplicationData 28
System 37
ProgamFiles 38
A full rundown of CSIDLs is here.
No comments:
Post a Comment