Delete internet cache from C# code with exception of sites

תשובה Delete internet cache from C# code with exception of sites

  • Monday, May 07, 2012 2:37 PM
     
     

    Hi

    I know how to clean the internet cache files from C# code, the problem is that if the files are related to certain sites, I want to leave them in order to make these sites faster.

    Is there a way to do that?



All Replies

  • Wednesday, May 09, 2012 8:29 AM
     
     

    Hi Itamar,

    Thank you for visiting the MSDN forum. I’m afraid that it is not the correct forum about this issue, since this forum is to discuss Visual C#. I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum. Thanks for your understanding.


    Bob Shen [MSFT]
    MSDN Community Support | Feedback to us

  • Wednesday, May 09, 2012 3:34 PM
    Moderator
     
     
    If you need help in WinInet cache management, visit http://social.msdn.microsoft.com/Forums/en-US/ieextensiondevelopment/threads


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP

  • Thursday, May 10, 2012 6:01 AM
     
     

    The question was in the correct place but in the wrong format.

    The question should be in the C# area since I am deleting the cache using C# code, the delete goes before opening a WebBrowser control in WPF.

    Is it possible to move it back?

  • Thursday, May 10, 2012 7:33 AM
    Owner
     
     

    The question was in the correct place but in the wrong format.

    The question should be in the C# area since I am deleting the cache using C# code, the delete goes before opening a WebBrowser control in WPF.

    Is it possible to move it back?

    Yes. In your edit, did you make it clearer that you're using C#? Can you also edit the title to make it clear that you're using C#?

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

  • Thursday, May 10, 2012 2:14 PM
    Moderator
     
     
    I don't think the user needs help in C# syntax or grammar. APIs (covered in SDK forums) or pinvoke signatures (covered in the CLR forum) are not part of any language standard. I usually move such questions out of language forums if I see them posted in language forums.


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP



  • Thursday, May 10, 2012 8:53 PM
    Owner
     
     
    I don't think the user needs help in C# syntax or grammar. APIs (covered in SDK forums) or pinvoke signatures (covered in the CLR forum) are not part of any language standard. I usually move such questions out of language forums if I see them posted in language forums.


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP

    So what forum would help in this case? SDK APIs (which SDK?) or CLR?

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

  • Thursday, May 10, 2012 9:35 PM
    Moderator
     
     Answered
    It depends on whether if the user know the WinInet cache management API to enumerate and delete individual cache entries. pinvoke signature is easier to find once the API is known thanks to pinvoke.net. The problem is a combination of two questions.


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP