4.3. Environment.SpecialFolder enumeration

This enumeration can be used to obtain directory paths to the system’s special folders, such as program files, programs, system, startup, and so on. The following is a list of members of the SpecialFolder enumeration.

  • ApplicationData Returns the path to the directory that is used as a common repository for application-specific data.

  • CommonApplicationData Returns the path to the directory that is used as a common repository for application-specific data used by all users.

  • CommonProgramFiles Returns the path to the directory for components shared across applications.

  • Cookies Returns the path to the directory that is used to store internet cookies.

  • DesktopDirectory Returns the path to the directory that ...

Get A Programmer's Guide to .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.