using System; using System.Runtime.InteropServices; using System.Text; using Cpp2IlInjected; namespace System.IO { /// Performs operations on instances that contain file or directory path information. These operations are performed in a cross-platform manner. // Token: 0x020002BC RID: 700 [Token(Token = "0x20002BC")] [ComVisible(true)] public static class Path { /// Changes the extension of a path string. /// The path information to modify. The path cannot contain any of the characters defined in . /// The new extension (with or without a leading period). Specify to remove an existing extension from . /// The modified path information. /// On Windows-based desktop platforms, if is or an empty string (""), the path information is returned unmodified. If is , the returned string contains the specified path with its extension removed. If has no extension, and is not , the returned path string contains appended to the end of . /// /// contains one or more of the invalid characters defined in . // Token: 0x060019D7 RID: 6615 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019D7")] [Address(RVA = "0x2942000", Offset = "0x2940E00", VA = "0x182942000")] public static string ChangeExtension(string path, string extension) { return null; } /// Combines two strings into a path. /// The first path to combine. /// The second path to combine. /// The combined paths. If one of the specified paths is a zero-length string, this method returns the other path. If contains an absolute path, this method returns . /// /// or contains one or more of the invalid characters defined in . /// /// or is . // Token: 0x060019D8 RID: 6616 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019D8")] [Address(RVA = "0x29429C0", Offset = "0x29417C0", VA = "0x1829429C0")] public static string Combine(string path1, string path2) { return null; } // Token: 0x060019D9 RID: 6617 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019D9")] [Address(RVA = "0x29424D0", Offset = "0x29412D0", VA = "0x1829424D0")] internal static string CleanPath(string s) { return null; } /// Returns the directory information for the specified path string. /// The path of a file or directory. /// Directory information for , or if denotes a root directory or is null. Returns if does not contain directory information. /// The parameter contains invalid characters, is empty, or contains only white spaces. /// In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead. /// /// /// /// /// The parameter is longer than the system-defined maximum length. // Token: 0x060019DA RID: 6618 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019DA")] [Address(RVA = "0x2943230", Offset = "0x2942030", VA = "0x182943230")] public static string GetDirectoryName(string path) { return null; } /// Returns the extension of the specified path string. /// The path string from which to get the extension. /// The extension of the specified path (including the period "."), or , or . If is , returns . If does not have extension information, returns . /// /// contains one or more of the invalid characters defined in . // Token: 0x060019DB RID: 6619 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019DB")] [Address(RVA = "0x2943650", Offset = "0x2942450", VA = "0x182943650")] public static string GetExtension(string path) { return null; } /// Returns the file name and extension of the specified path string. /// The path string from which to obtain the file name and extension. /// The characters after the last directory character in . If the last character of is a directory or volume separator character, this method returns . If is , this method returns . /// /// contains one or more of the invalid characters defined in . // Token: 0x060019DC RID: 6620 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019DC")] [Address(RVA = "0x29437C0", Offset = "0x29425C0", VA = "0x1829437C0")] public static string GetFileName(string path) { return null; } /// Returns the file name of the specified path string without the extension. /// The path of the file. /// The string returned by , minus the last period (.) and all characters following it. /// /// contains one or more of the invalid characters defined in . // Token: 0x060019DD RID: 6621 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019DD")] [Address(RVA = "0x2943760", Offset = "0x2942560", VA = "0x182943760")] public static string GetFileNameWithoutExtension(string path) { return null; } /// Returns the absolute path for the specified path string. /// The file or directory for which to obtain absolute path information. /// The fully qualified location of , such as "C:\MyFile.txt". /// /// is a zero-length string, contains only white space, or contains one or more of the invalid characters defined in . /// -or- /// The system could not retrieve the absolute path. /// The caller does not have the required permissions. /// /// is . /// /// contains a colon (":") that is not part of a volume identifier (for example, "c:\"). /// The specified path, file name, or both exceed the system-defined maximum length. // Token: 0x060019DE RID: 6622 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019DE")] [Address(RVA = "0x2943BC0", Offset = "0x29429C0", VA = "0x182943BC0")] public static string GetFullPath(string path) { return null; } // Token: 0x060019DF RID: 6623 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019DF")] [Address(RVA = "0x29438D0", Offset = "0x29426D0", VA = "0x1829438D0")] internal static string GetFullPathInternal(string path) { return null; } // Token: 0x060019E0 RID: 6624 [Token(Token = "0x60019E0")] [Address(RVA = "0x2943930", Offset = "0x2942730", VA = "0x182943930")] private static extern int GetFullPathName(string path, int numBufferChars, StringBuilder buffer, ref IntPtr lpFilePartOrNull); // Token: 0x060019E1 RID: 6625 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019E1")] [Address(RVA = "0x2943A10", Offset = "0x2942810", VA = "0x182943A10")] internal static string GetFullPathName(string path) { return null; } // Token: 0x060019E2 RID: 6626 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019E2")] [Address(RVA = "0x2945980", Offset = "0x2944780", VA = "0x182945980")] internal static string WindowsDriveAdjustment(string path) { return null; } // Token: 0x060019E3 RID: 6627 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019E3")] [Address(RVA = "0x29446D0", Offset = "0x29434D0", VA = "0x1829446D0")] internal static string InsecureGetFullPath(string path) { return null; } // Token: 0x060019E4 RID: 6628 RVA: 0x00011130 File Offset: 0x0000F330 [Token(Token = "0x60019E4")] [Address(RVA = "0x29450B0", Offset = "0x2943EB0", VA = "0x1829450B0")] internal static bool IsDirectorySeparator(char c) { return default(bool); } /// Gets the root directory information of the specified path. /// The path from which to obtain root directory information. /// The root directory of , or if is , or an empty string if does not contain root directory information. /// /// contains one or more of the invalid characters defined in . /// -or- /// was passed to . // Token: 0x060019E5 RID: 6629 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019E5")] [Address(RVA = "0x2943D30", Offset = "0x2942B30", VA = "0x182943D30")] public static string GetPathRoot(string path) { return null; } /// Returns the path of the current user's temporary folder. /// The path to the temporary folder, ending with a backslash. /// The caller does not have the required permissions. // Token: 0x060019E6 RID: 6630 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019E6")] [Address(RVA = "0x29444A0", Offset = "0x29432A0", VA = "0x1829444A0")] public static string GetTempPath() { return null; } // Token: 0x060019E7 RID: 6631 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019E7")] [Address(RVA = "0x29460A0", Offset = "0x2944EA0", VA = "0x1829460A0")] private static string get_temp_path() { return null; } /// Determines whether a path includes a file name extension. /// The path to search for an extension. /// /// if the characters that follow the last directory separator (\\ or /) or volume separator (:) in the path include a period (.) followed by one or more characters; otherwise, . /// /// contains one or more of the invalid characters defined in . // Token: 0x060019E8 RID: 6632 RVA: 0x00011148 File Offset: 0x0000F348 [Token(Token = "0x60019E8")] [Address(RVA = "0x29445C0", Offset = "0x29433C0", VA = "0x1829445C0")] public static bool HasExtension(string path) { return default(bool); } /// Gets a value indicating whether the specified path string contains a root. /// The path to test. /// /// if contains a root; otherwise, . /// /// contains one or more of the invalid characters defined in . // Token: 0x060019E9 RID: 6633 RVA: 0x00011160 File Offset: 0x0000F360 [Token(Token = "0x60019E9")] [Address(RVA = "0x2945140", Offset = "0x2943F40", VA = "0x182945140")] public static bool IsPathRooted(string path) { return default(bool); } /// Gets an array containing the characters that are not allowed in file names. /// An array containing the characters that are not allowed in file names. // Token: 0x060019EA RID: 6634 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019EA")] [Address(RVA = "0x2943C20", Offset = "0x2942A20", VA = "0x182943C20")] public static char[] GetInvalidFileNameChars() { return null; } /// Gets an array containing the characters that are not allowed in path names. /// An array containing the characters that are not allowed in path names. // Token: 0x060019EB RID: 6635 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019EB")] [Address(RVA = "0x2943CC0", Offset = "0x2942AC0", VA = "0x182943CC0")] public static char[] GetInvalidPathChars() { return null; } // Token: 0x060019EC RID: 6636 RVA: 0x00011178 File Offset: 0x0000F378 [Token(Token = "0x60019EC")] [Address(RVA = "0x2945EA0", Offset = "0x2944CA0", VA = "0x182945EA0")] private static int findExtension(string path) { return 0; } // Token: 0x060019EE RID: 6638 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019EE")] [Address(RVA = "0x2944260", Offset = "0x2943060", VA = "0x182944260")] private static string GetServerAndShare(string path) { return null; } // Token: 0x060019EF RID: 6639 RVA: 0x00011190 File Offset: 0x0000F390 [Token(Token = "0x60019EF")] [Address(RVA = "0x2945310", Offset = "0x2944110", VA = "0x182945310")] private static bool SameRoot(string root, string path) { return default(bool); } // Token: 0x060019F0 RID: 6640 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019F0")] [Address(RVA = "0x29417C0", Offset = "0x29405C0", VA = "0x1829417C0")] private static string CanonicalizePath(string path) { return null; } /// Combines an array of strings into a path. /// An array of parts of the path. /// The combined paths. /// One of the strings in the array contains one or more of the invalid characters defined in . /// One of the strings in the array is . // Token: 0x060019F1 RID: 6641 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019F1")] [Address(RVA = "0x2942EE0", Offset = "0x2941CE0", VA = "0x182942EE0")] public static string Combine(params string[] paths) { return null; } /// Combines three strings into a path. /// The first path to combine. /// The second path to combine. /// The third path to combine. /// The combined paths. /// /// , , or contains one or more of the invalid characters defined in . /// /// , , or is . // Token: 0x060019F2 RID: 6642 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019F2")] [Address(RVA = "0x2942CC0", Offset = "0x2941AC0", VA = "0x182942CC0")] public static string Combine(string path1, string path2, string path3) { return null; } // Token: 0x060019F3 RID: 6643 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60019F3")] [Address(RVA = "0x2945620", Offset = "0x2944420", VA = "0x182945620")] internal static void Validate(string path) { } // Token: 0x060019F4 RID: 6644 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60019F4")] [Address(RVA = "0x29457F0", Offset = "0x29445F0", VA = "0x1829457F0")] internal static void Validate(string path, string parameterName) { } // Token: 0x17000317 RID: 791 // (get) Token: 0x060019F5 RID: 6645 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000317")] internal static string DirectorySeparatorCharAsString { [Token(Token = "0x60019F5")] [Address(RVA = "0x2945F40", Offset = "0x2944D40", VA = "0x182945F40")] get { return null; } } // Token: 0x17000318 RID: 792 // (get) Token: 0x060019F6 RID: 6646 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000318")] internal static char[] TrimEndChars { [Token(Token = "0x60019F6")] [Address(RVA = "0x2946000", Offset = "0x2944E00", VA = "0x182946000")] get { return null; } } // Token: 0x060019F7 RID: 6647 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60019F7")] [Address(RVA = "0x2942320", Offset = "0x2941120", VA = "0x182942320")] internal static void CheckSearchPattern(string searchPattern) { } // Token: 0x060019F8 RID: 6648 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60019F8")] [Address(RVA = "0x2942210", Offset = "0x2941010", VA = "0x182942210")] internal static void CheckInvalidPathChars(string path, bool checkAdditional = false) { } // Token: 0x060019F9 RID: 6649 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60019F9")] [Address(RVA = "0x2944E10", Offset = "0x2943C10", VA = "0x182944E10")] internal static string InternalCombine(string path1, string path2) { return null; } /// Provides a platform-specific array of characters that cannot be specified in path string arguments passed to members of the class. // Token: 0x04000DC5 RID: 3525 [Token(Token = "0x4000DC5")] [Obsolete] public static readonly char[] InvalidPathChars; /// Provides a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization. // Token: 0x04000DC6 RID: 3526 [Token(Token = "0x4000DC6")] public static readonly char AltDirectorySeparatorChar; /// Provides a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization. // Token: 0x04000DC7 RID: 3527 [Token(Token = "0x4000DC7")] public static readonly char DirectorySeparatorChar; /// A platform-specific separator character used to separate path strings in environment variables. // Token: 0x04000DC8 RID: 3528 [Token(Token = "0x4000DC8")] public static readonly char PathSeparator; // Token: 0x04000DC9 RID: 3529 [Token(Token = "0x4000DC9")] internal static readonly string DirectorySeparatorStr; /// Provides a platform-specific volume separator character. // Token: 0x04000DCA RID: 3530 [Token(Token = "0x4000DCA")] public static readonly char VolumeSeparatorChar; // Token: 0x04000DCB RID: 3531 [Token(Token = "0x4000DCB")] internal static readonly char[] PathSeparatorChars; // Token: 0x04000DCC RID: 3532 [Token(Token = "0x4000DCC")] private static readonly bool dirEqualsVolume; // Token: 0x04000DCD RID: 3533 [Token(Token = "0x4000DCD")] internal static readonly char[] trimEndCharsWindows; // Token: 0x04000DCE RID: 3534 [Token(Token = "0x4000DCE")] internal static readonly char[] trimEndCharsUnix; } }