Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to get the "Temporary Internet Files" folder path?

How to get the "Temporary Internet Files" folder path?

Scheduled Pinned Locked Moved ASP.NET
csharptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jay_se
    wrote on last edited by
    #1

    Hi, I wish to get the "Temporary Internet Files" folder Physical path, without HardCode like below; Is there any method in .Net to retrieve the below said path? string strTempFldr = "C:\\Documents and Settings\\Jay\\Local Settings\\Temporary Internet Files";

    Regards, Jay :)

    V 1 Reply Last reply
    0
    • J Jay_se

      Hi, I wish to get the "Temporary Internet Files" folder Physical path, without HardCode like below; Is there any method in .Net to retrieve the below said path? string strTempFldr = "C:\\Documents and Settings\\Jay\\Local Settings\\Temporary Internet Files";

      Regards, Jay :)

      V Offline
      V Offline
      Venk259
      wrote on last edited by
      #2

      Hi Jay_se To retrieve physical path folder for "temporary internet files" use the following code string strTempFldr = Environment.GetFolderPathEnvironment.SpecialFolder.InternetCache);

      J 1 Reply Last reply
      0
      • V Venk259

        Hi Jay_se To retrieve physical path folder for "temporary internet files" use the following code string strTempFldr = Environment.GetFolderPathEnvironment.SpecialFolder.InternetCache);

        J Offline
        J Offline
        Jay_se
        wrote on last edited by
        #3

        Hi, Great!! It works fine. -- modified at 7:07 Tuesday 12th June, 2007 -- modified at 7:08 Tuesday 12th June, 2007

        Regards, Jay :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups