http://expert.csdn.net/Expert/topic/3011/3011483.xml?temp=.8550684

解决方案 »

  1.   

    http://tech.ccidnet.com/pub/article/c294_a26002_p1.html
      

  2.   

    *.ini 不就是个文本文件吗,用文本方法读就OK,            string path = "c:\\file.ini";
                using (StreamReader sr = new StreamReader( path )) 
                {
                    String line;
                    while((line = sr.ReadLine()) != null) 
                    {
                        Console.WriteLine( line );
                    }
                }