rmuch / ClamAV.Managed

ClamAV bindings for the .NET Framework, Mono and PowerShell. ClamAV.Managed is a library written in C# for the .NET Framework and Mono, providing managed bindings for the libclamav interface. It includes ClamAV.Managed.PowerShell, a set of PowerShell cmdlets for ClamAV scanning. It comes with sample code for building a GUI virus scanner application.
GNU General Public License v2.0
20 stars 8 forks source link

Asynchronous wrappers for ScanFile, etc. #2

Closed rmuch closed 8 years ago

rmuch commented 10 years ago

Implement asynchronous file and directory scanning.

Asynchronous scanning using the async/await pattern new in .NET 4.5 would probably be the easiest to implement. However, this would require upgrading the solution projects to .NET 4.5, which might be a problem for those who wish to target earlier framework versions.

A good first step would be to provide asynchronous methods using the older Begin/End asynchronous programming model.

rmuch commented 10 years ago

Added task-based asynchronous API using async/await in 17340ed.

rmuch commented 8 years ago

It's not clear that anyone needs Begin/End async scanning now that TAP-based scanning has been implemented (almost two years ago), and all of the projects have now been upgraded to .NET 4.5.2, so this issue can be closed.