Namespace System
Namespace IO


Enum FileAccess
	Read
	ReadWrite
	Write
End Enum

Enum FileAttributes
	Archive
	Compressed
	Device
	Directory
	Encrypted
	Hidden
	Normal
	NotContentIndexed
	Offline
	ReadOnly
	ReparsePoint
	SparseFile
	System
	Temporary
End Enum

Enum FileMode
	Append
	Create
	CreateNew
	Open
	OpenOrCreate
	Truncate
End Enum

Enum FileShare
	DeleteFile
	None
	Read
	ReadWrite
	Write
End Enum

Class File
Public

	Static Sub AppendAllText( path As String, contents As String )
		' TODO: ŽÀ‘•
	End Sub

/*	Static Sub AppendAllText( path As String, contents As String, encoding As Encoding )
		' TODO: ŽÀ‘•
	End Sub */

	Static Function AppendText( path As String ) As StreamWriter
		' TODO: ŽÀ‘•
	End Function

	Static Sub Copy( sourceFileName As String, destFileName As String )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub Copy( sourceFileName As String, destFileName As String, overwrite As Boolean )
		' TODO: ŽÀ‘•
	End Sub

	Static Function Create( path As String ) As FileStream
		' TODO: ŽÀ‘•
	End Function

	Static Function Create( path As String, bufferSize As Long ) As FileStream
		' TODO: ŽÀ‘•
	End Function

/*	Static Function Create( path As String, bufferSize As Long, options As FileOptions ) As FileStream
		' TODO: ŽÀ‘•
	End Function */

/*	Static Function Create( path As String, bufferSize As Long, options As FileOptions, fileSecurity As FileSecurity ) As FileStream
		' TODO: ŽÀ‘•
	End Function */

	Static Function CreateText( path As String ) As StreamWriter
		' TODO: ŽÀ‘•
	End Function

	Static Sub Decrypt( path As String )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub DeleteFile( path As String )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub Encrypt( path As String )
		' TODO: ŽÀ‘•
	End Sub

	Static Function Exists( path As String ) As Boolean
		' TODO: ŽÀ‘•
	End Function

/*	Static Function GetAccessControl( path As String ) As FileSecurity
		' TODO: ŽÀ‘•
	End Function */

/*	Static Function GetAccessControl( path As String, includeSections As AccessControlSections ) As FileSecurity
		' TODO: ŽÀ‘•
	End Function */

	Static Function GetAttributes( path As String ) As FileAttributes
		' TODO: ŽÀ‘•
	End Function

	Static Function GetCreationTime( path As String ) As DateTime
		' TODO: ŽÀ‘•
	End Function

	Static Function GetCreationTimeUtc( path As String ) As DateTime
		' TODO: ŽÀ‘•
	End Function

	Static Function GetLastAccessTime( path As String ) As DateTime
		' TODO: ŽÀ‘•
	End Function

	Static Function GetLastAccessTimeUtc( path As String ) As DateTime
		' TODO: ŽÀ‘•
	End Function

	Static Function GetLastWriteTime( path As String ) As DateTime
		' TODO: ŽÀ‘•
	End Function

	Static Function GetLastWriteTimeUtc( path As String ) As DateTime
		' TODO: ŽÀ‘•
	End Function

	Static Sub Move( sourceFileName As String, destFileName As String )
		' TODO: ŽÀ‘•
	End Sub

	Static Function Open( path As String, mode As FileMode ) As FileStream
		' TODO: ŽÀ‘•
	End Function

	Static Function Open( path As String, mode As FileMode, access As FileAccess ) As FileStream
		' TODO: ŽÀ‘•
	End Function

	Static Function Open( path As String, mode As FileMode, access As FileAccess, share As FileShare ) As FileStream
		' TODO: ŽÀ‘•
	End Function

	Static Function OpenRead( path As String ) As FileStream
		' TODO: ŽÀ‘•
	End Function

	Static Function OpenText( path As String ) As StreamReader
		' TODO: ŽÀ‘•
	End Function

	Static Function OpenWrite( path As String ) As FileStream
		' TODO: ŽÀ‘•
	End Function

	Static Function ReadAllBytes( path As String ) As *Byte
		' TODO: ŽÀ‘•
	End Function

/*	Static Function ReadAllLines( path As String ) As Strings
		' TODO: ŽÀ‘•
	End Function */

/*	Static Function ReadAllLines( path As String, encoding As Encoding ) As Strings
		' TODO: ŽÀ‘•
	End Function */

	Static Function ReadAllText( path As String ) As String
		' TODO: ŽÀ‘•
	End Function

/*	Static Function ReadAllText( path As String, encoding As Encoding ) As String
		' TODO: ŽÀ‘•
	End Function */

	Static Sub Replace( sourceFileName As String, destinationFileName As String, destinationBackupFileName As String )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub Replace( sourceFileName As String, destinationFileName As String, destinationBackupFileName As String, ignoreMetadataErrors As Boolean )
		' TODO: ŽÀ‘•
	End Sub

/*	Static Sub SetAccessControl( path As String, fileSecurity As FileSecurity )
		' TODO: ŽÀ‘•
	End Sub */

	Static Sub SetAttributes( path As String, fileAttributes As FileAttributes )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub SetCreationTime( path As String, creationTime As DateTime )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub SetCreationTimeUtc( path As String, creationTime As DateTime )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub SetLastAccessTime( path As String, lastAccessTime As DateTime )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub SetLastAccessTimeUtc( path As String, lastAccessTimeUtc As DateTime )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub SetLastWriteTime( path As String, lastWriteTime As DateTime )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub SetLastWriteTimeUtc( path As String, lastWriteTimeUtc As DateTime )
		' TODO: ŽÀ‘•
	End Sub

	Static Sub WriteAllBytes( path As String, bytes As *Byte )
		' TODO: ŽÀ‘•
	End Sub

/*	Static Sub WriteAllLines( path As String, contents As Strings )
		' TODO: ŽÀ‘•
	End Sub */

/*	Static Sub WriteAllLines( path As String, contents As Strings, encoding As Enconding )
		' TODO: ŽÀ‘•
	End Sub */

	Static Sub WriteAllText( path As String, contents As String )
		' TODO: ŽÀ‘•
	End Sub

/*	Static Sub WriteAllText( path As String, contents As String, encoding As Enconding )
		' TODO: ŽÀ‘•
	End Sub */

End Class


End Namespace
End Namespace
