在C#中调用API函数操作INI文件  被引量:3

Call the API Function in C# to Operate the INI File

在线阅读下载全文

作  者:刘海生[1] 刘洪田[2] 

机构地区:[1]济南军区司令部作战部 [2]装甲兵工程学院

出  处:《电脑开发与应用》2009年第2期44-46,共3页Computer Development & Applications

摘  要:INI文件就是扩展名为"ini"的文件。在Windows系统中,INI文件用于存放Windows系统的各种参数和用户的一些选择及设定,其地位仅次于注册表。.Net平台却没有提供直接读取INI文件的类。但Win32提供了一系列操作INI文件的API函数。探讨了.Net环境下如何利用C#语言对读写INI文件的API函数进行封装,实现了对INI文件方便的读写操作。INI File is the file that extend name Is the "INI". INI file is used to store the parameters of the Windows and the user's selection. INI file play the second important actor only after the registration In Windows system, there isn't any class which can read and write the INI file directly under . Net platform. But Win32 provides a series of API function to operate the INI file. The thesis discuss the method to encapsulate the API function to read and write the INI file in c #. Supply a implement of a class, which can read and write the tNI file conveniently in c # under .Net platform.

关 键 词:INI文件 WINDOWS系统 API函数 C# .Net平台 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象