I'd like to inspect the content of a file before it is uploaded to the SharePoint doc library.
I hooked up a handler to the ItemAdding()
event but don't know how to get the content of the file.
Note: I know that in the ItemAdded()
I can use properties.ListItem.File
but that's too late.
Thanks in advance.