Find INI File From application path and Read INI File in Compact framework C#
问题 i Want To Find Confic.INI File From Application path and i want get values, i mean read INI file data to string... My Code { StreamReader Sdr=new StreamReader( System.IO.Path.GetDirectoryName( System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase)+"\Confic.INI") //HERE I AM NOT GETTING APPLICATION PATH AND FILE NAME)// String data=file.readline(); } Please help me.. Thank You 回答1: To find application dir I use: Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) So