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?
- Moved by Bob ShenMicrosoft Contingent Staff Wednesday, May 09, 2012 8:30 AM (From:Visual C# General)
- Edited by Itamar Epstein Thursday, May 10, 2012 5:55 AM
- Edited by Itamar Epstein Thursday, May 10, 2012 10:12 AM
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 PMModeratorIf 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- Proposed As Answer by Ed Price - MSFTMicrosoft Employee, Owner Thursday, May 10, 2012 2:05 AM
- Unproposed As Answer by Itamar Epstein Thursday, May 10, 2012 5:58 AM
-
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 AMOwner
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 PMModeratorI 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
- Edited by Sheng Jiang 蒋晟MVP, Moderator Thursday, May 10, 2012 2:14 PM
- Edited by Sheng Jiang 蒋晟MVP, Moderator Thursday, May 10, 2012 2:14 PM
-
Thursday, May 10, 2012 8:53 PMOwner
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 PMModerator
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
- Edited by Sheng Jiang 蒋晟MVP, Moderator Thursday, May 10, 2012 9:40 PM
- Edited by Sheng Jiang 蒋晟MVP, Moderator Thursday, May 10, 2012 9:40 PM
- Proposed As Answer by Ed Price - MSFTMicrosoft Employee, Owner Sunday, May 13, 2012 6:03 AM
- Marked As Answer by Ed Price - MSFTMicrosoft Employee, Owner Monday, May 21, 2012 7:38 AM

