首页 | 本学科首页   官方微博 | 高级检索  
     

在C#中调用API函数操作INI文件
引用本文:刘海生,刘洪田.在C#中调用API函数操作INI文件[J].电脑开发与应用,2009,22(2):44-46.
作者姓名:刘海生  刘洪田
作者单位:1. 济南军区司令部作战部,济南,250002
2. 装甲兵工程学院,北京,100072
摘    要:INI文件就是扩展名为“ini”的文件。在Windows系统中,INI文件用于存放Windows系统的各种参数和用户的一些选择及设定,其地位仅次于注册表。.Net平台却没有提供直接读取INI文件的类。但win32提供了一系列操作INI文件的API函数。探讨了.Net环境下如何利用C#语言对读写INI文件的API函数进行封装,实现了对INI文件方便的读写操作。

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

Call the API Function in C# to Operate the INI File
Liu Haisheng et al.Call the API Function in C# to Operate the INI File[J].Computer Development & Applications,2009,22(2):44-46.
Authors:Liu Haisheng
Abstract: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 ca...
Keywords:C#
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号