Name

Environment.SpecialFolder

Synopsis

This enumeration is used by the Environment.GetFolderPath() method to allow you to retrieve the physical path of commonly used system (or “special”) folders, including everything from the Internet cache to the Start menu.

public enum Environment.SpecialFolder {
            Programs = 2,
            Personal = 5,
            Favorites = 6,
            Startup = 7,
            Recent = 8,
            SendTo = 9,
            StartMenu = 11,
            DesktopDirectory = 16,
            Templates = 21,
            ApplicationData = 26,
            LocalApplicationData = 28,
            InternetCache = 32,
            Cookies = 33,
            History = 34,
            CommonApplicationData = 35,
            System = 37,
            ProgramFiles = 38,
            CommonProgramFiles = 43
}

Hierarchy

ObjectValueTypeEnum(IComparable, IFormattable, IConvertible)SpecialFolder

Get C# in a Nutshell 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.