How to use Scan function in my own program

Hi everyone,

To scan a folder or a specific file, we click and select “Scan …”. Then a Scan task will show the progress and result.
I want to embed this function into my program. I used “avastui.exe %1”, but it not scan.

I am looking forward to reply of you.
Thank you.

You need a paid version of avast and use the command line scanner (ashcmd).