Windows Vista + Indexing + .NET Framework

Soldato
Joined
12 Jun 2005
Posts
5,361
Hi there,

Was unsure whether this should be in this forum or the Windows forum, so please feel free to move if needed.

Does .NET programs take advantage of the indexing that Windows Vista has integrated.

For instance, if i wanted to iterate through all the files in a folder, would it be faster if Windows Vista indexing service had them indexed.

Thanks.
 
I would speculate that having the indexing service enabled wouldn't affect the performance of "normal" file I/O operations.

From my understanding the indexing service maintains "catalogs" that act as indexes into the filesystem, and those can be queried from .NET using the MSIDXS provider i.e. to take advantage of indexing you have to explicity access the catalogs. Not sure that this would help with your scenario though.

Alas, as I say, I can't back this speculation up with any hard facts ;)

So you are saying - without vista-specific coding, it would NOT take advantage of the indexing system.

The only reason i ask is because i am thinking of disabling it for my HTPC, but uses Media Portal (a .NET Application)
 
Back
Top Bottom