File

cs.system.io.File (extern final class)

Static Members

AppendAllText(path: String, contents: String): Void
Name Type
path String
contents String

AppendText(path: String): StreamWriter
Name Type
path String
Returns
StreamWriter

Copy(sourceFileName: String, destFileName: String): Void
Name Type
sourceFileName String
destFileName String

Create(path: String): FileStream
Name Type
path String
Returns
FileStream

CreateText(path: String): StreamWriter
Name Type
path String
Returns
StreamWriter

Delete(path: String): Void
Name Type
path String

Exists(path: String): Bool
Name Type
path String
Returns
Bool

Name Type
path String
Returns
cs.system.security.accesscontrol.FileSecurity

GetAttributes(path: String): Anonymous
Name Type
path String
Returns
Anonymous

GetCreationTime(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetCreationTimeUtc(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetLastAccessTime(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetLastAccessTimeUtc(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetLastWriteTime(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

GetLastWriteTimeUtc(path: String): cs.system.DateTime
Name Type
path String
Returns
cs.system.DateTime

Move(sourceFileName: String, destFileName: String): Void
Name Type
sourceFileName String
destFileName String

Open(path: String, mode: Anonymous): FileStream
Name Type
path String
mode Anonymous
Returns
FileStream

OpenRead(path: String): FileStream
Name Type
path String
Returns
FileStream

OpenText(path: String): StreamReader
Name Type
path String
Returns
StreamReader

OpenWrite(path: String): FileStream
Name Type
path String
Returns
FileStream

Replace(sourceFileName: String, destinationFileName: String, destinationBackupFileName: String): Void
Name Type
sourceFileName String
destinationFileName String
destinationBackupFileName String

SetAccessControl(path: String, fileSecurity: cs.system.security.accesscontrol.FileSecurity): Void
Name Type
path String
fileSecurity cs.system.security.accesscontrol.FileSecurity

SetAttributes(path: String, fileAttributes: Anonymous): Void
Name Type
path String
fileAttributes Anonymous

SetCreationTime(path: String, creationTime: cs.system.DateTime): Void
Name Type
path String
creationTime cs.system.DateTime

SetCreationTimeUtc(path: String, creationTimeUtc: cs.system.DateTime): Void
Name Type
path String
creationTimeUtc cs.system.DateTime

SetLastAccessTime(path: String, lastAccessTime: cs.system.DateTime): Void
Name Type
path String
lastAccessTime cs.system.DateTime

SetLastAccessTimeUtc(path: String, lastAccessTimeUtc: cs.system.DateTime): Void
Name Type
path String
lastAccessTimeUtc cs.system.DateTime

SetLastWriteTime(path: String, lastWriteTime: cs.system.DateTime): Void
Name Type
path String
lastWriteTime cs.system.DateTime

SetLastWriteTimeUtc(path: String, lastWriteTimeUtc: cs.system.DateTime): Void
Name Type
path String
lastWriteTimeUtc cs.system.DateTime

ReadAllBytes(path: String): cs.NativeArray<cs.types.UInt8>
Name Type
path String
Returns
cs.NativeArray<cs.types.UInt8>

ReadAllLines(path: String): cs.NativeArray<String>
Name Type
path String
Returns
cs.NativeArray<String>

ReadAllText(path: String): String
Name Type
path String
Returns
String

WriteAllBytes(path: String, bytes: cs.NativeArray<cs.types.UInt8>): Void
Name Type
path String
bytes cs.NativeArray<cs.types.UInt8>

WriteAllLines(path: String, contents: cs.NativeArray<String>): Void
Name Type
path String
contents cs.NativeArray<String>

WriteAllText(path: String, contents: String): Void
Name Type
path String
contents String

Encrypt(path: String): Void
Name Type
path String

Decrypt(path: String): Void
Name Type
path String

Metadata

Name Parameters
:nativeGen -
:abstract -
:libType -
:csNative -