In Indexing Options, there’s a list of locations in ‘Index these locations’, is there a way to add a folder which created from my app into the list through c#?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
I have found a solution, anyone who want to let their app folder to support windows search in C# can do like below:
Download Windows Search API (http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=7388)
Import Micosoft.Search.Interop namespace.
write the code