2
A
답변
2
당신은 사용할 수 있습니다
File.SetAttributes("pathToTheFile", FileAttributes.ReadOnly);
더 많은 예제를 MSDN에서 :
https://msdn.microsoft.com/en-us/library/system.io.file.setattributes(v=vs.110).aspx