By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,687 Members | 2,046 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,687 IT Pros & Developers. It's quick & easy.

files & folders cache implementation

P: n/a
Hi all,
I'm looking for some example , open source etc code that implement caching
of files and folders with those requirments:
1. like every file system , I can write , read , delete etc files and
folders , and put files into folders , sub folders etc.
2. every object in the cache can be accessed via: name , but also based on
some unique ID , for example , the hash of the file data.
3. deleting folder will delete all it's sub folders & files and also update
the cache.
4. every object can have various unique identifiers
5. I can put object with some unique identifier that don't have relation
with the object data , but also have unique dentifier that represent the
current state of the object data - when data is changing - this id also
6. object can have various names that point to the same file / folder in the
file system (like shortcut's , but looking as the file itself)

I heard about the new "windows search" in Vista , is it support my
requirments , and if yes , how can I access it via c# .net 3 ?
Feb 5 '07 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Hi semedao,

After carefully reviewed your post, I'm still not very sure about your
objective, so please correct me if I've misunderstood anything.

Windows Desktop Search is for searching files. It has API to let you create
your own IFilter, etc. However, I don't think it's likely for your purpose.
From most of your requirements it seems you're creating a virtual file
system, which means you will need to create a shell NameSpace Extension

You could find more information about NSE here:

#Creating a Shell Namespace Extension

#HOWTO: RegView.exe Contains Shell Namespace Extension Example

However, creating NSE is not trivial, and Microsoft doesn't support
creating NSE using managed code.

Anyway, would you please depict more on your requirement? Thanks.

Walter Wang (wa****, remove 'online.')
Microsoft Online Community Support

Get notification to my posts through email? Please refer to
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at

This posting is provided "AS IS" with no warranties, and confers no rights.

Feb 6 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.