CmisSync.Lib.Storage.Database.Entities.IFileConvenienceExtenders.IsContentChangedTo C# (CSharp) Method

IsContentChangedTo() public static method

Determines if file content is changed to the specified obj.
public static IsContentChangedTo ( this file, IMappedObject obj, bool scanOnlyIfModificationDateDiffers = false ) : bool
file this File instance.
obj IMappedObject Object to check the file content against.
scanOnlyIfModificationDateDiffers bool If set to true content scan runs only if the modification date differs to given one.
return bool
        public static bool IsContentChangedTo(this IFileInfo file, IMappedObject obj, bool scanOnlyIfModificationDateDiffers = false) {
            byte[] actualHash;
            return file.IsContentChangedTo(obj, out actualHash, scanOnlyIfModificationDateDiffers);
        }
    }

Same methods

IFileConvenienceExtenders::IsContentChangedTo ( this file, IMappedObject obj, byte &actualHash, bool scanOnlyIfModificationDateDiffers = false ) : bool
IFileConvenienceExtenders