Hi there,
i need to get to know if a File in a Documentlibrary was updated/ overwritten. I have an eventreceiver for ItemUpdateing and ItemUpdated but can't find a way to check whether it was fired by an update of the files Metadata or through uploading a File with same name and overwriting option checked.
Versioning is Enabled.
Comparing Filesize of last version might be ok in most cases, but not in any.
Comparing Files Bytewise or their MD5 hashes works great for non Officefiles, because SharePoint writes Metadata direct to Office Files. So every Officefile will be a new one upon metadatachange.
Does anybody know a solution?
Maybe disabling Metadatawriting in Officedocs?
Or some eventreceiver tricks?
Kind regards
Rafael