A better way would be to compare the hash of the MD5 file. Evernote notes track resources by their MD5 hash file.
To see the hash of the MD5 file attached to the Evernote note, just look at the ENML elements labeled "en-media", the type of tags can be seen below:
<en-media type="mime-type" hash="md5-of-file" />
mime-type - , md5-of-file - MD5 . ENML Notes getNote ( ) , . ENML - content , getNote ( ).
, MD5 , MD5 , , .
, updateResource :
" . , ( ). , updateNote."
, "" - . , , , . , .