using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.IO
{
/// Provides properties and instance methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of objects. This class cannot be inherited.
// Token: 0x02000286 RID: 646
[Token(Token = "0x2000286")]
[ComVisible(true)]
[Serializable]
public sealed class FileInfo : FileSystemInfo
{
/// Initializes a new instance of the class, which acts as a wrapper for a file path.
/// The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character.
///
/// is .
/// The caller does not have the required permission.
/// The file name is empty, contains only white spaces, or contains invalid characters.
/// Access to is denied.
/// The specified path, file name, or both exceed the system-defined maximum length.
///
/// contains a colon (:) in the middle of the string.
// Token: 0x06001771 RID: 6001 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001771")]
[Address(RVA = "0x2934C80", Offset = "0x2933A80", VA = "0x182934C80")]
public FileInfo(string fileName)
{
}
// Token: 0x06001772 RID: 6002 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001772")]
[Address(RVA = "0x2934B00", Offset = "0x2933900", VA = "0x182934B00")]
private void Init(string fileName, bool checkHost)
{
}
// Token: 0x06001773 RID: 6003 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001773")]
[Address(RVA = "0x4996E0", Offset = "0x4984E0", VA = "0x1804996E0")]
private string GetDisplayPath(string originalPath)
{
return null;
}
// Token: 0x06001774 RID: 6004 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001774")]
[Address(RVA = "0x2934DE0", Offset = "0x2933BE0", VA = "0x182934DE0")]
private FileInfo(SerializationInfo info, StreamingContext context)
{
}
/// Gets the name of the file.
/// The name of the file.
// Token: 0x170002BA RID: 698
// (get) Token: 0x06001775 RID: 6005 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170002BA")]
public override string Name
{
[Token(Token = "0x6001775")]
[Address(RVA = "0x423DE0", Offset = "0x422BE0", VA = "0x180423DE0", Slot = "8")]
get
{
return null;
}
}
/// Gets the size, in bytes, of the current file.
/// The size of the current file in bytes.
///
/// cannot update the state of the file or directory.
/// The file does not exist.
/// -or-
/// The property is called for a directory.
// Token: 0x170002BB RID: 699
// (get) Token: 0x06001776 RID: 6006 RVA: 0x00010200 File Offset: 0x0000E400
[Token(Token = "0x170002BB")]
public long Length
{
[Token(Token = "0x6001776")]
[Address(RVA = "0x2935050", Offset = "0x2933E50", VA = "0x182935050")]
get
{
return 0L;
}
}
/// Gets a string representing the directory's full path.
/// A string representing the directory's full path.
///
/// was passed in for the directory name.
/// The fully qualified path name exceeds the system-defined maximum length.
/// The caller does not have the required permission.
// Token: 0x170002BC RID: 700
// (get) Token: 0x06001777 RID: 6007 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170002BC")]
public string DirectoryName
{
[Token(Token = "0x6001777")]
[Address(RVA = "0x2934E80", Offset = "0x2933C80", VA = "0x182934E80")]
get
{
return null;
}
}
/// Gets an instance of the parent directory.
/// A object representing the parent directory of this file.
/// The specified path is invalid, such as being on an unmapped drive.
/// The caller does not have the required permission.
// Token: 0x170002BD RID: 701
// (get) Token: 0x06001778 RID: 6008 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170002BD")]
public DirectoryInfo Directory
{
[Token(Token = "0x6001778")]
[Address(RVA = "0x2934EE0", Offset = "0x2933CE0", VA = "0x182934EE0")]
get
{
return null;
}
}
/// Gets or sets a value that determines if the current file is read only.
///
/// if the current file is read only; otherwise, .
/// The file described by the current object could not be found.
/// An I/O error occurred while opening the file.
/// This operation is not supported on the current platform.
/// -or-
/// The caller does not have the required permission.
/// The user does not have write permission, but attempted to set this property to .
// Token: 0x170002BE RID: 702
// (get) Token: 0x06001779 RID: 6009 RVA: 0x00010218 File Offset: 0x0000E418
// (set) Token: 0x0600177A RID: 6010 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170002BE")]
public bool IsReadOnly
{
[Token(Token = "0x6001779")]
[Address(RVA = "0x2935010", Offset = "0x2933E10", VA = "0x182935010")]
get
{
return default(bool);
}
[Token(Token = "0x600177A")]
[Address(RVA = "0x29350A0", Offset = "0x2933EA0", VA = "0x1829350A0")]
set
{
}
}
/// Creates a with UTF8 encoding that reads from an existing text file.
/// A new with UTF8 encoding.
/// The caller does not have the required permission.
/// The file is not found.
///
/// is read-only or is a directory.
/// The specified path is invalid, such as being on an unmapped drive.
// Token: 0x0600177B RID: 6011 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600177B")]
[Address(RVA = "0x2934BD0", Offset = "0x29339D0", VA = "0x182934BD0")]
public StreamReader OpenText()
{
return null;
}
/// Creates a that writes a new text file.
/// A new .
/// The file name is a directory.
/// The disk is read-only.
/// The caller does not have the required permission.
// Token: 0x0600177C RID: 6012 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600177C")]
[Address(RVA = "0x2934920", Offset = "0x2933720", VA = "0x182934920")]
public StreamWriter CreateText()
{
return null;
}
/// Creates a that appends text to the file represented by this instance of the .
/// A new .
// Token: 0x0600177D RID: 6013 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600177D")]
[Address(RVA = "0x29348C0", Offset = "0x29336C0", VA = "0x1829348C0")]
public StreamWriter AppendText()
{
return null;
}
/// Permanently deletes a file.
/// The target file is open or memory-mapped on a computer running Microsoft Windows NT.
/// -or-
/// There is an open handle on the file, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. For more information, see How to: Enumerate Directories and Files.
/// The caller does not have the required permission.
/// The path is a directory.
// Token: 0x0600177E RID: 6014 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600177E")]
[Address(RVA = "0x2934980", Offset = "0x2933780", VA = "0x182934980", Slot = "10")]
public override void Delete()
{
}
/// Gets a value indicating whether a file exists.
///
/// if the file exists; if the file does not exist or if the file is a directory.
// Token: 0x170002BF RID: 703
// (get) Token: 0x0600177F RID: 6015 RVA: 0x00010230 File Offset: 0x0000E430
[Token(Token = "0x170002BF")]
public override bool Exists
{
[Token(Token = "0x600177F")]
[Address(RVA = "0x2934F90", Offset = "0x2933D90", VA = "0x182934F90", Slot = "9")]
get
{
return default(bool);
}
}
/// Returns the path as a string.
/// A string representing the path.
// Token: 0x06001780 RID: 6016 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001780")]
[Address(RVA = "0x423D40", Offset = "0x422B40", VA = "0x180423D40", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x04000CB9 RID: 3257
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x4000CB9")]
private string _name;
}
}