Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

484 lines
33 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.IO
{
/// <summary>Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.</summary>
// Token: 0x02000288 RID: 648
[Token(Token = "0x2000288")]
[ComVisible(true)]
public static class Directory
{
/// <summary>Returns the names of files (including their paths) in the specified directory.</summary>
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
/// <returns>An array of the full names (including paths) for the files in the specified directory, or an empty array if no files are found.</returns>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="path" /> is a file name.
/// -or-
/// A network error has occurred.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> 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 <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is not found or is invalid (for example, it is on an unmapped drive).</exception>
// 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;
}
/// <summary>Returns the names of files (including their paths) that match the specified search pattern in the specified directory.</summary>
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
/// <returns>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.</returns>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="path" /> is a file name.
/// -or-
/// A network error has occurred.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using <see cref="M:System.IO.Path.GetInvalidPathChars" />.
/// -or-
/// <paramref name="searchPattern" /> doesn't contain a valid pattern.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> or <paramref name="searchPattern" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is not found or is invalid (for example, it is on an unmapped drive).</exception>
// 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;
}
/// <summary>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.</summary>
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
/// <param name="searchOption">One of the enumeration values that specifies whether the search operation should include all subdirectories or only the current directory.</param>
/// <returns>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.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
/// -or-
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> or <paramref name="searchpattern" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is not found or is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="path" /> is a file name.
/// -or-
/// A network error has occurred.</exception>
// 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;
}
/// <summary>Returns the names of subdirectories (including their paths) in the specified directory.</summary>
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
/// <returns>An array of the full names (including paths) of subdirectories in the specified path, or an empty array if no directories are found.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> 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 <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="path" /> is a file name.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
// 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;
}
/// <summary>Returns the names of subdirectories (including their paths) that match the specified search pattern in the specified directory.</summary>
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
/// <param name="searchPattern">The search string to match against the names of subdirectories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
/// <returns>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.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using <see cref="M:System.IO.Path.GetInvalidPathChars" />.
/// -or-
/// <paramref name="searchPattern" /> doesn't contain a valid pattern.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> or <paramref name="searchPattern" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="path" /> is a file name.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
// 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;
}
/// <summary>Returns the names of the subdirectories (including their paths) that match the specified search pattern in the specified directory, and optionally searches subdirectories.</summary>
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
/// <param name="searchPattern">The search string to match against the names of subdirectories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
/// <param name="searchOption">One of the enumeration values that specifies whether the search operation should include all subdirectories or only the current directory.</param>
/// <returns>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.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> 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 <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
/// -or-
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> or <paramref name="searchPattern" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="path" /> is a file name.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
// 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;
}
/// <summary>Returns an array of file names and directory names that match a search pattern in a specified path.</summary>
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
/// <param name="searchPattern">The search string to match against the names of file and directories in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
/// <returns>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.</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
/// -or-
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> or <paramref name="searchPattern" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="path" /> is a file name.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
// 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;
}
/// <summary>Returns an enumerable collection of file names that match a search pattern in a specified path.</summary>
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
/// <returns>An enumerable collection of the full names (including paths) for the files in the directory specified by <paramref name="path" /> and that match the specified search pattern.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
/// -or-
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.
/// -or-
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">
/// <paramref name="path" /> is invalid, such as referring to an unmapped drive.</exception>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="path" /> is a file name.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or combined exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
// Token: 0x06001797 RID: 6039 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001797")]
[Address(RVA = "0x2BAAD50", Offset = "0x2BA9D50", VA = "0x182BAAD50")]
public static IEnumerable<string> EnumerateFiles(string path, string searchPattern)
{
return null;
}
/// <summary>Returns an enumerable collection of file names that match a search pattern in a specified path, and optionally searches subdirectories.</summary>
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
/// <param name="searchOption">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 <see cref="F:System.IO.SearchOption.TopDirectoryOnly" />.</param>
/// <returns>An enumerable collection of the full names (including paths) for the files in the directory specified by <paramref name="path" /> and that match the specified search pattern and option.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
/// -or-
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.
/// -or-
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">
/// <paramref name="path" /> is invalid, such as referring to an unmapped drive.</exception>
/// <exception cref="T:System.IO.IOException">
/// <paramref name="path" /> is a file name.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or combined exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
// Token: 0x06001798 RID: 6040 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001798")]
[Address(RVA = "0x2BAAE20", Offset = "0x2BA9E20", VA = "0x182BAAE20")]
public static IEnumerable<string> 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<string> 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<string> EnumerateFileSystemNames(string path, string searchPattern, SearchOption searchOption, bool includeFiles, bool includeDirs)
{
return null;
}
/// <summary>Creates all directories and subdirectories in the specified path unless they already exist.</summary>
/// <param name="path">The directory to create.</param>
/// <returns>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.</returns>
/// <exception cref="T:System.IO.IOException">The directory specified by <paramref name="path" /> is a file.
/// -or-
/// The network name is not known.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> 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 <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
/// -or-
/// <paramref name="path" /> is prefixed with, or contains, only a colon character (:).</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> contains a colon character (:) that is not part of a drive label ("C:\").</exception>
// 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;
}
/// <summary>Deletes an empty directory from a specified path.</summary>
/// <param name="path">The name of the empty directory to remove. This directory must be writable and empty.</param>
/// <exception cref="T:System.IO.IOException">A file with the same name and location specified by <paramref name="path" /> exists.
/// -or-
/// The directory is the application's current working directory.
/// -or-
/// The directory specified by <paramref name="path" /> is not empty.
/// -or-
/// The directory is read-only or contains a read-only file.
/// -or-
/// The directory is being used by another process.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> 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 <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">
/// <paramref name="path" /> does not exist or could not be found.
/// -or-
/// The specified path is invalid (for example, it is on an unmapped drive).</exception>
// 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)
{
}
/// <summary>Deletes the specified directory and, if indicated, any subdirectories and files in the directory.</summary>
/// <param name="path">The name of the directory to remove.</param>
/// <param name="recursive">
/// <see langword="true" /> to remove directories, subdirectories, and files in <paramref name="path" />; otherwise, <see langword="false" />.</param>
/// <exception cref="T:System.IO.IOException">A file with the same name and location specified by <paramref name="path" /> exists.
/// -or-
/// The directory specified by <paramref name="path" /> is read-only, or <paramref name="recursive" /> is <see langword="false" /> and <paramref name="path" /> 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.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> 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 <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">
/// <paramref name="path" /> does not exist or could not be found.
/// -or-
/// The specified path is invalid (for example, it is on an unmapped drive).</exception>
// 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)
{
}
/// <summary>Determines whether the given path refers to an existing directory on disk.</summary>
/// <param name="path">The path to test.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="path" /> refers to an existing directory; <see langword="false" /> if the directory does not exist or an error occurs when trying to determine if the specified directory exists.</returns>
// 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);
}
/// <summary>Gets the current working directory of the application.</summary>
/// <returns>A string that contains the absolute path of the current working directory, and does not end with a backslash (\).</returns>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.NotSupportedException">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.</exception>
// 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);
}
/// <summary>Retrieves the parent directory of the specified path, including both absolute and relative paths.</summary>
/// <param name="path">The path for which to retrieve the parent directory.</param>
/// <returns>The parent directory, or <see langword="null" /> if <paramref name="path" /> is the root directory, including the root of a UNC server or share name.</returns>
/// <exception cref="T:System.IO.IOException">The directory specified by <paramref name="path" /> is read-only.</exception>
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. For more information, see the <see cref="T:System.IO.PathTooLongException" /> topic.</exception>
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path was not found.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="path" /> is in an invalid format.</exception>
/// <exception cref="T:System.Security.SecurityException">.NET Framework only: The caller does not have the required permissions.</exception>
// 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;
}
}
}