-2 .net c# xml linq asp.net
如何在c#中提供对xml文件的只读访问权限?
tha*_*lok 7
此代码有助于: -
using System.IO; FileInfo flInfo = new FileInfo(@"c:\alok.txt"); // load file flInfo.Attributes = FileAttributes.ReadOnly; // set file attribute
归档时间:
15 年,9 月 前
查看次数:
1196 次
最近记录: