A FileCorruptedException is thrown when trying to open a .one document with Aspose.Note.
The exception message is “The MD5 hash is not correct for referenced struct.”
The .one file was created with MS OneNote 2016 and can be opened with OneNote without any problems.
This exception is thrown when using Aspose.Note for .NET 17.8 as well as the lastest available version 18.9, when executing the following code:
// filePath points to the file: Section B.one var fileStream = new FileStream(filePath, FileMode.Open); var doc = new Aspose.Note.Document(fileStream);
Files.zip (175.1 KB)