Answers for "open file read only c#"

C#
11

read file c#

string text = File.ReadAllText(@"c:file.txt", Encoding.UTF8);
Posted by: Guest on November-18-2020
0

set file to read only C#

File.SetAttributes(path, FileAttributes.ReadOnly);
Posted by: Guest on July-11-2021

C# Answers by Framework

Browse Popular Code Answers by Language