You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the UFFS COM file in the .NET project by grabbing the output which is not flexible for most .NET developers. If you provide a Wrapper/Package/Library for .Net Framework it will be very helpful for developers who are working on file searching.
Currently, I am using like below using C# language:
private void runUltraFastFileSearch(object argument)
{string args = (string) argument;
LogMessage("runUltraFastFileSearch initiated");
string comFilePath = Path.GetDirectoryName(executablePath) + "\\uffs.com";
ProcessStartInfo startInfo = new ProcessStartInfo
{
FileName = comFilePath,
Arguments = args,
UseShellExecute = false, // Set to false to run without the shell
RedirectStandardOutput = true,
RedirectStandardError = true,
CreateNoWindow = true, // Set to true to run without creating a window
};
using (Process process = new Process())
{
process.StartInfo = startInfo;
process.Start();
process.WaitForExit();
string output = process.StandardOutput.ReadToEnd();
string errors = process.StandardError.ReadToEnd();
LogMessage(output);
LogMessage(errors);
// Handle output and errors as needed
}
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using the UFFS COM file in the .NET project by grabbing the output which is not flexible for most .NET developers. If you provide a Wrapper/Package/Library for .Net Framework it will be very helpful for developers who are working on file searching.
Currently, I am using like below using C# language:
Beta Was this translation helpful? Give feedback.
All reactions