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

◆ Length

long System.IO.FileInfo.Length
get

Definition at line 8 of file FileInfo.cs.

9 {
10 get
11 {
12 if ((base.Attributes & FileAttributes.Directory) == FileAttributes.Directory)
13 {
14 throw new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, FullPath), FullPath);
15 }
16 return base.LengthCore;
17 }
18 }

Referenced by Terraria.Utilities.FileUtilities.GetFileSize().