We have a requirement to integrate an antivirus solution with the Sharepoint server programmatically.
Requirement: When a user adds/updates a document perform a scan using SDK of the antivirus and based on the result allow/block the document. So we are expecting to receive a callback when a user uploads/downloads any documents. This does not apply to the Sharepoint online. We have to achieve this programmatically(C# is the preferred language).
We are struggling to find enough documentation regarding the same.