I am using the C# dotnetdbf code (from github) to create, write and read dbf files.
It's great, except I cannot figure out how to create an index.
What I have tried:
There is a DBFField class which I use to set the field details (name, type, length) when I create a DBF. DBFField also has a 'byte indexFieldFlag' parameter which I tried setting to various values: 255 and 1 so far. But that does not seem make the field an index.
I think an indexed DBF field needs a .ntx file to define it.
Does anyone know how to create this please? I've looked through the dtnetdbf code and even though it looks like I can set an index field, it does not create a .ntx file.