Last post Mar 27, 2015 02:46 AM by roshan605
Mar 19, 2015 12:38 AM|roshan605|LINK
I am currently working on a third party libaray which does the scanning of files which my asp.net MVC project uploads. I want to clarify few things on it.
Third party library exposes oncomplete actions such as this,
scanner.OnScanComplete += sacnner_OnScanComplete;
scanner.OnProcess += scanner_OnProcess;
Scan can be started as
if this is the case , how can i wait till the scan to be completed ?
Mar 26, 2015 03:30 PM|PatriceSc|LINK
So this is server side? MVC or WebForms? If I remember the Task Library have something to turn an event into a task so that you can await on it (using an async page or controller). BTW you are sure it doesn't have an async API?
Edit: This is an antivirus scan? Couldn't saving the file trigger an installed scanner?
Mar 27, 2015 02:46 AM|roshan605|LINK
Yeah, this is server side, mvc and yeah it does not have a async api , what they have is a com+ . yeah it is a antivirus scanner
Ill check on that