Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Replacement Everything. I don't want to use IPC. USNQueryEngine

License

NotificationsYou must be signed in to change notification settings

hqzzzz/USNQueryEngine

Repository files navigation

Replacement Everything. I don't want to use IPC.

If you don't know what is Everything , just look athere

How does it work?

  • Read USN
  • Find USN logs

Image text

Make it in One Dll.

(ProjectDir)ILMerge\ILMerge.exe /ndebug  /targetPlatform:v4  /target:dll /out:$(SolutionDir)bin\$(TargetFileName) $(TargetDir)PInvoke.dll  $(TargetDir)UsnOperation.dll $(TargetDir)USNQueryEngine.dll

How to use?

  • C#
  1. Introducing Dll files

  2. Reference<Enginetest>

usingUSNQueryEngine;classProgram{staticvoidMain(string[]args){varentries=USNEngine.GetAllFilesAndDirectories();varresult=entries.Where(f=>f.FileName.ToUpper().Contains(filter)).OrderBy(f=>f.FileName).ToList();if(result.Count()>0){vartable=newConsoleTable("FileName","Path");foreach(variteminresult){if(itemisFileAndDirectoryEntry){table.AddRow(item.FileName,item.Path);}}table.Write();Console.WriteLine();}}}

Related Projects

About

Replacement Everything. I don't want to use IPC. USNQueryEngine

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp