Basic usage of the library

Topics: User Forum
Sep 13, 2007 at 9:52 PM
I'm trying to make use of the library, its well written code AnarkiNet - but some how, i dont seem to get a IniFile returned 'myIni' stays NULL

code
bool bResult;
IniReaderSettings iniReadsettings = new IniReaderSettings();
IniReader iniRead = new IniReader(iniReadsettings);

FileStream fStream = File.OpenRead("c:\\data.ini");

IniFile myIni = iniRead.Read(fStream, out bResult);
MessageBox.Show(Convert.ToString(myIni.SectionCount));
/code
Coordinator
Sep 14, 2007 at 2:41 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.