How do I get the location of special Internet directories?
To get the location of special Internet directories, use the Environment.GetFolderPath method, and specify one of the Environment.SpecialFolder enumeration values as the method parameter.
For example, to get the directory for temporary Internet files:
Environment.GetFolderPath(Environment.SpecialFolder.InternetCache);To get the directory of Internet cookies:
Environment.GetFolderPath(Environment.SpecialFolder.Cookies);To get the directory of Internet History items:
Environment.GetFolderPath(Environment.SpecialFolder.History);
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 07/05/04
Comment or report problem with topic
