using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.IO { /// Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. // Token: 0x02000288 RID: 648 [Token(Token = "0x2000288")] [ComVisible(true)] public static class Directory { /// Returns the names of files (including their paths) in the specified directory. /// The relative or absolute path to the directory to search. This string is not case-sensitive. /// An array of the full names (including paths) for the files in the specified directory, or an empty array if no files are found. /// /// is a file name. /// -or- /// A network error has occurred. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method. /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is not found or is invalid (for example, it is on an unmapped drive). // Token: 0x0600178C RID: 6028 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600178C")] [Address(RVA = "0x2BAB820", Offset = "0x2BAA820", VA = "0x182BAB820")] public static string[] GetFiles(string path) { return null; } /// Returns the names of files (including their paths) that match the specified search pattern in the specified directory. /// The relative or absolute path to the directory to search. This string is not case-sensitive. /// The search string to match against the names of files in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions. /// An array of the full names (including paths) for the files in the specified directory that match the specified search pattern, or an empty array if no files are found. /// /// is a file name. /// -or- /// A network error has occurred. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using . /// -or- /// doesn't contain a valid pattern. /// /// or is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is not found or is invalid (for example, it is on an unmapped drive). // Token: 0x0600178D RID: 6029 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600178D")] [Address(RVA = "0x2BAB620", Offset = "0x2BAA620", VA = "0x182BAB620")] public static string[] GetFiles(string path, string searchPattern) { return null; } /// Returns the names of files (including their paths) that match the specified search pattern in the specified directory, using a value to determine whether to search subdirectories. /// The relative or absolute path to the directory to search. This string is not case-sensitive. /// The search string to match against the names of files in . 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 all subdirectories or only the current directory. /// An array of the full names (including paths) for the files in the specified directory that match the specified search pattern and option, or an empty array if no files are found. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method. /// -or- /// does not contain a valid pattern. /// /// or is . /// /// is not a valid value. /// The caller does not have the required permission. /// The specified path is not found or is invalid (for example, it is on an unmapped drive). /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is a file name. /// -or- /// A network error has occurred. // Token: 0x0600178E RID: 6030 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600178E")] [Address(RVA = "0x2BAB6F0", Offset = "0x2BAA6F0", VA = "0x182BAB6F0")] public static string[] GetFiles(string path, string searchPattern, SearchOption searchOption) { return null; } // Token: 0x0600178F RID: 6031 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600178F")] [Address(RVA = "0x2BABCD0", Offset = "0x2BAACD0", VA = "0x182BABCD0")] private static string[] InternalGetFiles(string path, string searchPattern, SearchOption searchOption) { return null; } /// Returns the names of subdirectories (including their paths) in the specified directory. /// The relative or absolute path to the directory to search. This string is not case-sensitive. /// An array of the full names (including paths) of subdirectories in the specified path, or an empty array if no directories are found. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method. /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is a file name. /// The specified path is invalid (for example, it is on an unmapped drive). // Token: 0x06001790 RID: 6032 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001790")] [Address(RVA = "0x2BAB4C0", Offset = "0x2BAA4C0", VA = "0x182BAB4C0")] public static string[] GetDirectories(string path) { return null; } /// Returns the names of subdirectories (including their paths) that match the specified search pattern in the specified directory. /// The relative or absolute path to the directory to search. This string is not case-sensitive. /// The search string to match against the names of subdirectories in . This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions. /// An array of the full names (including paths) of the subdirectories that match the search pattern in the specified directory, or an empty array if no directories are found. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using . /// -or- /// doesn't contain a valid pattern. /// /// or is . /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is a file name. /// The specified path is invalid (for example, it is on an unmapped drive). // Token: 0x06001791 RID: 6033 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001791")] [Address(RVA = "0x2BAB3F0", Offset = "0x2BAA3F0", VA = "0x182BAB3F0")] public static string[] GetDirectories(string path, string searchPattern) { return null; } /// Returns the names of the subdirectories (including their paths) that match the specified search pattern in the specified directory, and optionally searches subdirectories. /// The relative or absolute path to the directory to search. This string is not case-sensitive. /// The search string to match against the names of subdirectories in . This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions. /// One of the enumeration values that specifies whether the search operation should include all subdirectories or only the current directory. /// An array of the full names (including paths) of the subdirectories that match the specified criteria, or an empty array if no directories are found. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method. /// -or- /// does not contain a valid pattern. /// /// or is . /// /// is not a valid value. /// The caller does not have the required permission. /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is a file name. /// The specified path is invalid (for example, it is on an unmapped drive). // Token: 0x06001792 RID: 6034 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001792")] [Address(RVA = "0x2BAB2C0", Offset = "0x2BAA2C0", VA = "0x182BAB2C0")] public static string[] GetDirectories(string path, string searchPattern, SearchOption searchOption) { return null; } // Token: 0x06001793 RID: 6035 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001793")] [Address(RVA = "0x2BABBA0", Offset = "0x2BAABA0", VA = "0x182BABBA0")] private static string[] InternalGetDirectories(string path, string searchPattern, SearchOption searchOption) { return null; } /// Returns an array of file names and directory names that match a search pattern in a specified path. /// The relative or absolute path to the directory to search. This string is not case-sensitive. /// The search string to match against the names of file and directories in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions. /// An array of file names and directory names that match the specified search criteria, or an empty array if no files or directories are found. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method. /// -or- /// does not contain a valid pattern. /// /// or is . /// The specified path, file name, or both exceed the system-defined maximum length. /// /// is a file name. /// The specified path is invalid (for example, it is on an unmapped drive). // Token: 0x06001794 RID: 6036 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001794")] [Address(RVA = "0x2BAB550", Offset = "0x2BAA550", VA = "0x182BAB550")] public static string[] GetFileSystemEntries(string path, string searchPattern) { return null; } // Token: 0x06001795 RID: 6037 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001795")] [Address(RVA = "0x2BABCA0", Offset = "0x2BAACA0", VA = "0x182BABCA0")] private static string[] InternalGetFileSystemEntries(string path, string searchPattern, SearchOption searchOption) { return null; } // Token: 0x06001796 RID: 6038 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001796")] [Address(RVA = "0x2BABBD0", Offset = "0x2BAABD0", VA = "0x182BABBD0")] internal static string[] InternalGetFileDirectoryNames(string path, string userPathOriginal, string searchPattern, bool includeFiles, bool includeDirs, SearchOption searchOption, bool checkHost) { return null; } /// Returns an enumerable collection of file names that match a search pattern in a specified path. /// The relative or absolute path to the directory to search. This string is not case-sensitive. /// The search string to match against the names of files in . This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions. /// An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the specified search pattern. /// /// is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method. /// -or- /// does not contain a valid pattern. /// /// is . /// -or- /// is . /// /// is invalid, such as referring to an unmapped drive. /// /// is a file name. /// The specified path, file name, or combined exceed the system-defined maximum length. /// The caller does not have the required permission. /// The caller does not have the required permission. // Token: 0x06001797 RID: 6039 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001797")] [Address(RVA = "0x2BAAD50", Offset = "0x2BA9D50", VA = "0x182BAAD50")] public static IEnumerable EnumerateFiles(string path, string searchPattern) { return null; } /// Returns an enumerable collection of file names that match a search pattern in a specified path, and optionally searches subdirectories. /// The relative or absolute path to the directory to search. This string is not case-sensitive. /// The search string to match against the names of files in . 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 should include all subdirectories. /// The default value is . /// An enumerable collection of the full names (including paths) for the files in the directory specified by and that match the specified search pattern and option. /// /// is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the method. /// -or- /// does not contain a valid pattern. /// /// is . /// -or- /// is . /// /// is not a valid value. /// /// is invalid, such as referring to an unmapped drive. /// /// is a file name. /// The specified path, file name, or combined exceed the system-defined maximum length. /// The caller does not have the required permission. /// The caller does not have the required permission. // Token: 0x06001798 RID: 6040 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001798")] [Address(RVA = "0x2BAAE20", Offset = "0x2BA9E20", VA = "0x182BAAE20")] public static IEnumerable EnumerateFiles(string path, string searchPattern, SearchOption searchOption) { return null; } // Token: 0x06001799 RID: 6041 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001799")] [Address(RVA = "0x2BABB70", Offset = "0x2BAAB70", VA = "0x182BABB70")] private static IEnumerable InternalEnumerateFiles(string path, string searchPattern, SearchOption searchOption) { return null; } // Token: 0x0600179A RID: 6042 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600179A")] [Address(RVA = "0x2BAAD20", Offset = "0x2BA9D20", VA = "0x182BAAD20")] private static IEnumerable EnumerateFileSystemNames(string path, string searchPattern, SearchOption searchOption, bool includeFiles, bool includeDirs) { return null; } /// Creates all directories and subdirectories in the specified path unless they already exist. /// The directory to create. /// An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists. /// The directory specified by is a file. /// -or- /// The network name is not known. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method. /// -or- /// is prefixed with, or contains, only a colon character (:). /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// The specified path is invalid (for example, it is on an unmapped drive). /// /// contains a colon character (:) that is not part of a drive label ("C:\"). // Token: 0x0600179B RID: 6043 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600179B")] [Address(RVA = "0x2BAA850", Offset = "0x2BA9850", VA = "0x182BAA850")] public static DirectoryInfo CreateDirectory(string path) { return null; } // Token: 0x0600179C RID: 6044 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600179C")] [Address(RVA = "0x2BAA6A0", Offset = "0x2BA96A0", VA = "0x182BAA6A0")] private static DirectoryInfo CreateDirectoriesInternal(string path) { return null; } /// Deletes an empty directory from a specified path. /// The name of the empty directory to remove. This directory must be writable and empty. /// A file with the same name and location specified by exists. /// -or- /// The directory is the application's current working directory. /// -or- /// The directory specified by is not empty. /// -or- /// The directory is read-only or contains a read-only file. /// -or- /// The directory is being used by another process. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method. /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// /// does not exist or could not be found. /// -or- /// The specified path is invalid (for example, it is on an unmapped drive). // Token: 0x0600179D RID: 6045 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600179D")] [Address(RVA = "0x2BAAA80", Offset = "0x2BA9A80", VA = "0x182BAAA80")] public static void Delete(string path) { } // Token: 0x0600179E RID: 6046 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600179E")] [Address(RVA = "0x2BABDE0", Offset = "0x2BAADE0", VA = "0x182BABDE0")] private static void RecursiveDelete(string path) { } /// Deletes the specified directory and, if indicated, any subdirectories and files in the directory. /// The name of the directory to remove. /// /// to remove directories, subdirectories, and files in ; otherwise, . /// A file with the same name and location specified by exists. /// -or- /// The directory specified by is read-only, or is and is not an empty directory. /// -or- /// The directory is the application's current working directory. /// -or- /// The directory contains a read-only file. /// -or- /// The directory is being used by another process. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the method. /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. /// /// does not exist or could not be found. /// -or- /// The specified path is invalid (for example, it is on an unmapped drive). // Token: 0x0600179F RID: 6047 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600179F")] [Address(RVA = "0x2BAAC90", Offset = "0x2BA9C90", VA = "0x182BAAC90")] public static void Delete(string path, bool recursive) { } /// Determines whether the given path refers to an existing directory on disk. /// The path to test. /// /// if refers to an existing directory; if the directory does not exist or an error occurs when trying to determine if the specified directory exists. // Token: 0x060017A0 RID: 6048 RVA: 0x00010530 File Offset: 0x0000E730 [Token(Token = "0x60017A0")] [Address(RVA = "0x2BAAF50", Offset = "0x2BA9F50", VA = "0x182BAAF50")] public static bool Exists(string path) { return default(bool); } /// Gets the current working directory of the application. /// A string that contains the absolute path of the current working directory, and does not end with a backslash (\). /// The caller does not have the required permission. /// The operating system is Windows CE, which does not have current directory functionality. /// This method is available in the .NET Compact Framework, but is not currently supported. // Token: 0x060017A1 RID: 6049 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60017A1")] [Address(RVA = "0x2BAB020", Offset = "0x2BAA020", VA = "0x182BAB020")] public static string GetCurrentDirectory() { return null; } // Token: 0x060017A2 RID: 6050 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60017A2")] [Address(RVA = "0x2BABAD0", Offset = "0x2BAAAD0", VA = "0x182BABAD0")] internal static string InsecureGetCurrentDirectory() { return null; } // Token: 0x060017A3 RID: 6051 RVA: 0x00010548 File Offset: 0x0000E748 [Token(Token = "0x60017A3")] [Address(RVA = "0x2BABD00", Offset = "0x2BAAD00", VA = "0x182BABD00")] private static bool IsRootDirectory(string path) { return default(bool); } /// Retrieves the parent directory of the specified path, including both absolute and relative paths. /// The path for which to retrieve the parent directory. /// The parent directory, or if is the root directory, including the root of a UNC server or share name. /// The directory specified by is read-only. /// The caller does not have the required permission. /// /// is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the method. /// /// is . /// The specified path, file name, or both exceed the system-defined maximum length. For more information, see the topic. /// The specified path was not found. /// /// is in an invalid format. /// .NET Framework only: The caller does not have the required permissions. // Token: 0x060017A4 RID: 6052 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60017A4")] [Address(RVA = "0x2BAB8B0", Offset = "0x2BAA8B0", VA = "0x182BAB8B0")] public static DirectoryInfo GetParent(string path) { return null; } // Token: 0x060017A5 RID: 6053 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60017A5")] [Address(RVA = "0x2BAB0C0", Offset = "0x2BAA0C0", VA = "0x182BAB0C0")] internal static string GetDemandDir(string fullPath, bool thisDirOnly) { return null; } // Token: 0x02000289 RID: 649 [Token(Token = "0x2000289")] internal sealed class SearchData { // Token: 0x060017A6 RID: 6054 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60017A6")] [Address(RVA = "0x6E7930", Offset = "0x6E6930", VA = "0x1806E7930")] public SearchData(string fullPath, string userPath, SearchOption searchOption) { } // Token: 0x04000CC0 RID: 3264 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4000CC0")] public readonly string fullPath; // Token: 0x04000CC1 RID: 3265 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4000CC1")] public readonly string userPath; // Token: 0x04000CC2 RID: 3266 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4000CC2")] public readonly SearchOption searchOption; } } }