using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.IO
{
/// Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
// Token: 0x020002AB RID: 683
[Token(Token = "0x20002AB")]
[ComVisible(true)]
[Serializable]
public sealed class DirectoryInfo : FileSystemInfo
{
/// Initializes a new instance of the class on the specified path.
/// A string specifying the path on which to create the .
///
/// is .
/// The caller does not have the required permission.
///
/// contains invalid characters such as ", <, >, or |.
/// The specified path, file name, or both exceed the system-defined maximum length.
// Token: 0x06001917 RID: 6423 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001917")]
[Address(RVA = "0x29328F0", Offset = "0x29316F0", VA = "0x1829328F0")]
public DirectoryInfo(string path)
{
}
// Token: 0x06001918 RID: 6424 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001918")]
[Address(RVA = "0x2932930", Offset = "0x2931730", VA = "0x182932930")]
internal DirectoryInfo(string path, bool simpleOriginalPath)
{
}
// Token: 0x06001919 RID: 6425 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001919")]
[Address(RVA = "0x2932900", Offset = "0x2931700", VA = "0x182932900")]
private DirectoryInfo(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x0600191A RID: 6426 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600191A")]
[Address(RVA = "0x29324B0", Offset = "0x29312B0", VA = "0x1829324B0")]
private void Initialize()
{
}
/// Gets a value indicating whether the directory exists.
///
/// if the directory exists; otherwise, .
// Token: 0x17000300 RID: 768
// (get) Token: 0x0600191B RID: 6427 RVA: 0x00010998 File Offset: 0x0000EB98
[Token(Token = "0x17000300")]
public override bool Exists
{
[Token(Token = "0x600191B")]
[Address(RVA = "0x2932BD0", Offset = "0x29319D0", VA = "0x182932BD0", Slot = "9")]
get
{
return default(bool);
}
}
/// Gets the name of this instance.
/// The directory name.
// Token: 0x17000301 RID: 769
// (get) Token: 0x0600191C RID: 6428 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000301")]
public override string Name
{
[Token(Token = "0x600191C")]
[Address(RVA = "0x423DE0", Offset = "0x422BE0", VA = "0x180423DE0", Slot = "8")]
get
{
return null;
}
}
/// Gets the parent directory of a specified subdirectory.
/// The parent directory, or if the path is null or if the file path denotes a root (such as "\", "C:", or * "\\server\share").
/// The caller does not have the required permission.
// Token: 0x17000302 RID: 770
// (get) Token: 0x0600191D RID: 6429 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000302")]
public DirectoryInfo Parent
{
[Token(Token = "0x600191D")]
[Address(RVA = "0x2932C10", Offset = "0x2931A10", VA = "0x182932C10")]
get
{
return null;
}
}
/// Creates a directory.
/// The directory cannot be created.
// Token: 0x0600191E RID: 6430 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600191E")]
[Address(RVA = "0x29314F0", Offset = "0x29302F0", VA = "0x1829314F0")]
public void Create()
{
}
/// Returns a file list from the current directory.
/// An array of type .
/// The path is invalid, such as being on an unmapped drive.
// Token: 0x0600191F RID: 6431 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600191F")]
[Address(RVA = "0x2931F70", Offset = "0x2930D70", VA = "0x182931F70")]
public FileInfo[] GetFiles()
{
return null;
}
/// Returns a file list from the current directory matching the given search pattern.
/// The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
/// An array of type .
///
/// contains one or more invalid characters defined by the method.
///
/// is .
/// The path is invalid (for example, it is on an unmapped drive).
/// The caller does not have the required permission.
// Token: 0x06001920 RID: 6432 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001920")]
[Address(RVA = "0x2932320", Offset = "0x2931120", VA = "0x182932320")]
public FileInfo[] GetFiles(string searchPattern)
{
return null;
}
/// Returns the subdirectories of the current directory.
/// An array of objects.
/// The path encapsulated in the object is invalid, such as being on an unmapped drive.
/// The caller does not have the required permission.
/// The caller does not have the required permission.
// Token: 0x06001921 RID: 6433 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001921")]
[Address(RVA = "0x2931600", Offset = "0x2930400", VA = "0x182931600")]
public DirectoryInfo[] GetDirectories()
{
return null;
}
/// Returns an array of directories in the current matching the given search criteria.
/// The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
/// An array of type matching .
///
/// contains one or more invalid characters defined by the method.
///
/// is .
/// The path encapsulated in the object is invalid (for example, it is on an unmapped drive).
/// The caller does not have the required permission.
// Token: 0x06001922 RID: 6434 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001922")]
[Address(RVA = "0x29317B0", Offset = "0x29305B0", VA = "0x1829317B0")]
public DirectoryInfo[] GetDirectories(string searchPattern)
{
return null;
}
/// Returns an array of strongly typed entries representing all the files and subdirectories in a directory.
/// An array of strongly typed entries.
/// The path is invalid (for example, it is on an unmapped drive).
// Token: 0x06001923 RID: 6435 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001923")]
[Address(RVA = "0x2931BB0", Offset = "0x29309B0", VA = "0x182931BB0")]
public FileSystemInfo[] GetFileSystemInfos()
{
return null;
}
/// Retrieves an array of strongly typed objects representing the files and subdirectories that match the specified search criteria.
/// The search string to match against the names of directories and files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
/// An array of strongly typed objects matching the search criteria.
///
/// contains one or more invalid characters defined by the method.
///
/// is .
/// The specified path is invalid (for example, it is on an unmapped drive).
/// The caller does not have the required permission.
// Token: 0x06001924 RID: 6436 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001924")]
[Address(RVA = "0x2931AA0", Offset = "0x29308A0", VA = "0x182931AA0")]
public FileSystemInfo[] GetFileSystemInfos(string searchPattern)
{
return null;
}
/// Retrieves an array of objects that represent the files and subdirectories matching the specified search criteria.
/// The search string to match against the names of directories and filesa. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
/// One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories. The default value is .
/// An array of file system entries that match the search criteria.
///
/// contains one or more invalid characters defined by the method.
///
/// is .
///
/// is not a valid value.
/// The specified path is invalid (for example, it is on an unmapped drive).
/// The caller does not have the required permission.
// Token: 0x06001925 RID: 6437 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001925")]
[Address(RVA = "0x2931940", Offset = "0x2930740", VA = "0x182931940")]
public FileSystemInfo[] GetFileSystemInfos(string searchPattern, SearchOption searchOption)
{
return null;
}
// Token: 0x06001926 RID: 6438 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001926")]
[Address(RVA = "0x2932740", Offset = "0x2931540", VA = "0x182932740")]
private void InternalGetFileSystemInfos(string searchPattern, SearchOption searchOption, List infos)
{
}
/// Deletes this if it is empty.
/// The directory contains a read-only file.
/// The directory described by this object does not exist or could not be found.
/// The directory is not empty.
/// -or-
/// The directory is the application's current working directory.
/// -or-
/// There is an open handle on the directory, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories. For more information, see How to: Enumerate Directories and Files.
/// The caller does not have the required permission.
// Token: 0x06001927 RID: 6439 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001927")]
[Address(RVA = "0x2931590", Offset = "0x2930390", VA = "0x182931590", Slot = "10")]
public override void Delete()
{
}
/// Deletes this instance of a , specifying whether to delete subdirectories and files.
///
/// to delete this directory, its subdirectories, and all files; otherwise, .
/// The directory contains a read-only file.
/// The directory described by this object does not exist or could not be found.
/// The directory is read-only.
/// -or-
/// The directory contains one or more files or subdirectories and is .
/// -or-
/// The directory is the application's current working directory.
/// -or-
/// There is an open handle on the directory or on one of its files, 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.
// Token: 0x06001928 RID: 6440 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001928")]
[Address(RVA = "0x2931500", Offset = "0x2930300", VA = "0x182931500")]
public void Delete(bool recursive)
{
}
/// Returns the original path that was passed by the user.
/// The original path that was passed by the user.
// Token: 0x06001929 RID: 6441 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001929")]
[Address(RVA = "0x415290", Offset = "0x414090", VA = "0x180415290", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x0600192A RID: 6442 RVA: 0x000109B0 File Offset: 0x0000EBB0
[Token(Token = "0x600192A")]
[Address(RVA = "0x2931CE0", Offset = "0x2930AE0", VA = "0x182931CE0")]
internal int GetFilesSubdirs(ArrayList l, string pattern)
{
return 0;
}
/// Returns a file list from the current directory matching the given search pattern and using a value to determine whether to search subdirectories.
/// The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
/// One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories.
/// An array of type .
///
/// contains one or more invalid characters defined by the method.
///
/// is .
///
/// is not a valid value.
/// The path is invalid (for example, it is on an unmapped drive).
/// The caller does not have the required permission.
// Token: 0x0600192B RID: 6443 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600192B")]
[Address(RVA = "0x2931FB0", Offset = "0x2930DB0", VA = "0x182931FB0")]
public FileInfo[] GetFiles(string searchPattern, SearchOption searchOption)
{
return null;
}
// Token: 0x0600192C RID: 6444 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600192C")]
[Address(RVA = "0x2931380", Offset = "0x2930180", VA = "0x182931380")]
internal void CheckPath(string path)
{
}
// Token: 0x04000D4C RID: 3404
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x4000D4C")]
private string current;
// Token: 0x04000D4D RID: 3405
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x4000D4D")]
private string parent;
}
}