...
The Nhax format is a mix of binary data and XML formatted data the so called sections. As the Nhax format is complex and hard to implement HIMSA has developed a standalone library that can be used by business system developers that must support the Nhax format.
Extension to Old Nhax Format
...
/// <summary>
/// NhaxWriter constructor for writing Nhax formatted data to a stream
/// </summary>
/// <param name="outStream">Output stream. Must support CanWrite and CanSeek-</param>
/// <param name="password">Password to access data in the stream</param>
/// <param name="compressData">If true data are compressed</param>
public NhaxWriter(Stream outStream, string password, bool compressData = true )
IMPORTANT: Be aware that the Nhax Writer implements the idisposable interface. It is important that dispose in order to update the binary part of the Nhax file correctly.
Nhax Reader
The Nhax reader reads data from an Nhax file.