Barotrauma Client Doc
Barotrauma.IO.FileInfo Class Reference

Public Member Functions

 FileInfo (string path)
 
 FileInfo (System.IO.FileInfo info)
 
void CopyTo (string dest, bool overwriteExisting=false)
 
void Delete ()
 

Properties

bool Exists [get]
 
string Name [get]
 
string FullName [get]
 
long Length [get]
 
bool IsReadOnly [get, set]
 

Detailed Description

Definition at line 598 of file SafeIO.cs.

Constructor & Destructor Documentation

◆ FileInfo() [1/2]

Barotrauma.IO.FileInfo.FileInfo ( string  path)

Definition at line 602 of file SafeIO.cs.

◆ FileInfo() [2/2]

Barotrauma.IO.FileInfo.FileInfo ( System.IO.FileInfo  info)

Definition at line 607 of file SafeIO.cs.

Member Function Documentation

◆ CopyTo()

void Barotrauma.IO.FileInfo.CopyTo ( string  dest,
bool  overwriteExisting = false 
)

Definition at line 634 of file SafeIO.cs.

◆ Delete()

void Barotrauma.IO.FileInfo.Delete ( )

Definition at line 644 of file SafeIO.cs.

Property Documentation

◆ Exists

bool Barotrauma.IO.FileInfo.Exists
get

Definition at line 612 of file SafeIO.cs.

◆ FullName

string Barotrauma.IO.FileInfo.FullName
get

Definition at line 614 of file SafeIO.cs.

◆ IsReadOnly

bool Barotrauma.IO.FileInfo.IsReadOnly
getset

Definition at line 617 of file SafeIO.cs.

◆ Length

long Barotrauma.IO.FileInfo.Length
get

Definition at line 615 of file SafeIO.cs.

◆ Name

string Barotrauma.IO.FileInfo.Name
get

Definition at line 613 of file SafeIO.cs.