In the name of God

This project can be read Mdict dictionary files such as MDX and MDD in .Net envirenment.
This also supports UTF-8 and UTF-16 dictionaries.
It has a build-in indexing system base on min and max entry in each block

This project use the https://dotnetzip.codeplex.com for Zlib decompression.
Sample for read indexed entries from MDX or MDD files :
Mdx mdx = new Mdx(MdxFilePath);
mdx.GetKeys();

Mdd mdx = new Mdd(MddFilePath);
mdd.GetKeys();
Sample for find content of entry from indexed entries :
Mdx mdx = new Mdx(MdxFilePath);
mdx.GetStyleSheets();
mdx.IgnoreKeys();
mdx.GetRecordBlocksInfo();
string Result=mdx.GetKeyValue(1);

Mdd mdd = new Mdd(MddFilePath);
mdd.IgnoreKeys();
mdd.GetRecordBlocksInfo();
byte[] Result=mdd.GetKeyValue(1);

1 : MdictHelper.Tuple<long, long, string> object that you find in mdx.IdxBlockInfoList entries list.

Last edited May 24, 2013 at 9:30 PM by persian_developer, version 4