Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsReadOnly

bool System.IO.FileInfo.IsReadOnly
getset

Definition at line 35 of file FileInfo.cs.

36 {
37 get
38 {
39 return (base.Attributes & FileAttributes.ReadOnly) != 0;
40 }
41 set
42 {
43 if (value)
44 {
45 base.Attributes |= FileAttributes.ReadOnly;
46 }
47 else
48 {
49 base.Attributes &= ~FileAttributes.ReadOnly;
50 }
51 }
52 }