How to recognise a Notes database

Does anyone know if there is a hex string that allows one to recognise a Notes database within a hex dump of a disk?

Subject: How to recognise a Notes database

Thanks, that is most helpful. You don’t know by any chance is I can find the length of the database in order to locate the end?

Subject: RE: How to recognise a Notes database

Do you mean the length of database name or file name? If so,@Length(@Subset(@DbName;-1)) gives you the fullpath including the database name ending with “.nsf”.

Subject: RE: How to recognise a Notes database

No, I meant the length of the nsf file on disk.

Subject: How to recognise a Notes database

4 digits at the begining of the file:

Notes database (nsf) R4: 1a 00 00 03

Notes database (nsf) R5 & R6: 1a 00 00 04