Mono Class Library: Overview

System.IO.File: Members

The members of System.IO.File are listed below.

See Also: Inherited members from System.Object

Public Methods

static
AppendAllText(string, string)
Documentation for this section has not yet been entered.
static
AppendAllText(string, string, System.Text.Encoding)
Documentation for this section has not yet been entered.
static
AppendText(string) : StreamWriter
Appends UTF-8 encoded text to an existing file.
static
Copy(string, string)
Copies the specified file to a new location.
static
Copy(string, string, bool)
Copies the specified file to a new location.
static
Create(string) : FileStream
Creates or overwrites the specified file.
static
Create(string, int) : FileStream
Creates or overwrites the specified file.
static
Create(string, int, FileOptions) : FileStream
Documentation for this section has not yet been entered.
static
Create(string, int, FileOptions, System.Security.AccessControl.FileSecurity) : FileStream
Documentation for this section has not yet been entered.
static
CreateText(string) : StreamWriter
Creates or opens a file for writing UTF-8 encoded text.
static
Decrypt(string)
Documentation for this section has not yet been entered.
static
Delete(string)
Deletes the specified file.
static
Encrypt(string)
Documentation for this section has not yet been entered.
static
Exists(string) : bool
Returns a bool indicating whether the specified file exists.
static
GetAccessControl(string) : System.Security.AccessControl.FileSecurity
Documentation for this section has not yet been entered.
static
GetAccessControl(string, System.Security.AccessControl.AccessControlSections) : System.Security.AccessControl.FileSecurity
Documentation for this section has not yet been entered.
static
GetAttributes(string) : FileAttributes
Documentation for this section has not yet been entered.
static
GetCreationTime(string) : DateTime
Returns the creation date and time of the specified file or directory.
static
GetCreationTimeUtc(string) : DateTime
Documentation for this section has not yet been entered.
static
GetLastAccessTime(string) : DateTime
Returns the date and time the specified file or directory was last accessed.
static
GetLastAccessTimeUtc(string) : DateTime
Documentation for this section has not yet been entered.
static
GetLastWriteTime(string) : DateTime
Returns the date and time the specified file or directory was last written to.
static
GetLastWriteTimeUtc(string) : DateTime
Documentation for this section has not yet been entered.
static
Move(string, string)
Moves the specified file to a new location.
static
Open(string, FileMode) : FileStream
Opens a System.IO.FileStream on the specified file with read/write access.
static
Open(string, FileMode, FileAccess) : FileStream
Opens a System.IO.FileStream on the specified file.
static
Open(string, FileMode, FileAccess, FileShare) : FileStream
Opens a System.IO.FileStream on the specified file.
static
OpenRead(string) : FileStream
Opens an existing file for reading.
static
OpenText(string) : StreamReader
Opens an existing UTF-8 encoded text file for reading.
static
OpenWrite(string) : FileStream
Opens an existing file for writing.
static
ReadAllBytes(string) : byte[]
Documentation for this section has not yet been entered.
static
ReadAllLines(string) : string[]
Documentation for this section has not yet been entered.
static
ReadAllLines(string, System.Text.Encoding) : string[]
Documentation for this section has not yet been entered.
static
ReadAllText(string) : string
Documentation for this section has not yet been entered.
static
ReadAllText(string, System.Text.Encoding) : string
Documentation for this section has not yet been entered.
static
Replace(string, string, string)
Documentation for this section has not yet been entered.
static
Replace(string, string, string, bool)
Documentation for this section has not yet been entered.
static
SetAccessControl(string, System.Security.AccessControl.FileSecurity)
Documentation for this section has not yet been entered.
static
SetAttributes(string, FileAttributes)
Documentation for this section has not yet been entered.
static
SetCreationTime(string, DateTime)
Sets the creation date and time for the specified file.
static
SetCreationTimeUtc(string, DateTime)
Documentation for this section has not yet been entered.
static
SetLastAccessTime(string, DateTime)
Sets the date and time the specified file was last accessed.
static
SetLastAccessTimeUtc(string, DateTime)
Documentation for this section has not yet been entered.
static
SetLastWriteTime(string, DateTime)
Sets the date and time a file was last written to.
static
SetLastWriteTimeUtc(string, DateTime)
Documentation for this section has not yet been entered.
static
WriteAllBytes(string, byte[])
Documentation for this section has not yet been entered.
static
WriteAllLines(string, string[])
Documentation for this section has not yet been entered.
static
WriteAllLines(string, string[], System.Text.Encoding)
Documentation for this section has not yet been entered.
static
WriteAllText(string, string)
Documentation for this section has not yet been entered.
static
WriteAllText(string, string, System.Text.Encoding)
Documentation for this section has not yet been entered.