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: 0x020002C3 RID: 707 [Token(Token = "0x20002C3")] [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: 0x06001A19 RID: 6681 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A19")] [Address(RVA = "0xCC50D0", Offset = "0xCC40D0", VA = "0x180CC50D0")] 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: 0x06001A1A RID: 6682 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A1A")] [Address(RVA = "0xCC5A90", Offset = "0xCC4A90", VA = "0x180CC5A90")] public static string Combine(string path1, string path2) { return null; } // Token: 0x06001A1B RID: 6683 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A1B")] [Address(RVA = "0xCC55A0", Offset = "0xCC45A0", VA = "0x180CC55A0")] 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: 0x06001A1C RID: 6684 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A1C")] [Address(RVA = "0xCC6300", Offset = "0xCC5300", VA = "0x180CC6300")] 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: 0x06001A1D RID: 6685 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A1D")] [Address(RVA = "0xCC6720", Offset = "0xCC5720", VA = "0x180CC6720")] 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: 0x06001A1E RID: 6686 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A1E")] [Address(RVA = "0xCC6890", Offset = "0xCC5890", VA = "0x180CC6890")] 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: 0x06001A1F RID: 6687 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A1F")] [Address(RVA = "0xCC6830", Offset = "0xCC5830", VA = "0x180CC6830")] 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: 0x06001A20 RID: 6688 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A20")] [Address(RVA = "0xCC6C90", Offset = "0xCC5C90", VA = "0x180CC6C90")] public static string GetFullPath(string path) { return null; } // Token: 0x06001A21 RID: 6689 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A21")] [Address(RVA = "0xCC69A0", Offset = "0xCC59A0", VA = "0x180CC69A0")] internal static string GetFullPathInternal(string path) { return null; } // Token: 0x06001A22 RID: 6690 [Token(Token = "0x6001A22")] [Address(RVA = "0xCC6A00", Offset = "0xCC5A00", VA = "0x180CC6A00")] private static extern int GetFullPathName(string path, int numBufferChars, StringBuilder buffer, ref IntPtr lpFilePartOrNull); // Token: 0x06001A23 RID: 6691 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A23")] [Address(RVA = "0xCC6AE0", Offset = "0xCC5AE0", VA = "0x180CC6AE0")] internal static string GetFullPathName(string path) { return null; } // Token: 0x06001A24 RID: 6692 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A24")] [Address(RVA = "0xCC8AA0", Offset = "0xCC7AA0", VA = "0x180CC8AA0")] internal static string WindowsDriveAdjustment(string path) { return null; } // Token: 0x06001A25 RID: 6693 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A25")] [Address(RVA = "0xCC77A0", Offset = "0xCC67A0", VA = "0x180CC77A0")] internal static string InsecureGetFullPath(string path) { return null; } // Token: 0x06001A26 RID: 6694 RVA: 0x00011490 File Offset: 0x0000F690 [Token(Token = "0x6001A26")] [Address(RVA = "0xCC81D0", Offset = "0xCC71D0", VA = "0x180CC81D0")] 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: 0x06001A27 RID: 6695 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A27")] [Address(RVA = "0xCC6E00", Offset = "0xCC5E00", VA = "0x180CC6E00")] 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: 0x06001A28 RID: 6696 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A28")] [Address(RVA = "0xCC7570", Offset = "0xCC6570", VA = "0x180CC7570")] public static string GetTempPath() { return null; } // Token: 0x06001A29 RID: 6697 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A29")] [Address(RVA = "0xCC91C0", Offset = "0xCC81C0", VA = "0x180CC91C0")] 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: 0x06001A2A RID: 6698 RVA: 0x000114A8 File Offset: 0x0000F6A8 [Token(Token = "0x6001A2A")] [Address(RVA = "0xCC7690", Offset = "0xCC6690", VA = "0x180CC7690")] 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: 0x06001A2B RID: 6699 RVA: 0x000114C0 File Offset: 0x0000F6C0 [Token(Token = "0x6001A2B")] [Address(RVA = "0xCC8260", Offset = "0xCC7260", VA = "0x180CC8260")] 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: 0x06001A2C RID: 6700 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A2C")] [Address(RVA = "0xCC6CF0", Offset = "0xCC5CF0", VA = "0x180CC6CF0")] 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: 0x06001A2D RID: 6701 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A2D")] [Address(RVA = "0xCC6D90", Offset = "0xCC5D90", VA = "0x180CC6D90")] public static char[] GetInvalidPathChars() { return null; } // Token: 0x06001A2E RID: 6702 RVA: 0x000114D8 File Offset: 0x0000F6D8 [Token(Token = "0x6001A2E")] [Address(RVA = "0xCC8FC0", Offset = "0xCC7FC0", VA = "0x180CC8FC0")] private static int findExtension(string path) { return 0; } // Token: 0x06001A30 RID: 6704 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A30")] [Address(RVA = "0xCC7330", Offset = "0xCC6330", VA = "0x180CC7330")] private static string GetServerAndShare(string path) { return null; } // Token: 0x06001A31 RID: 6705 RVA: 0x000114F0 File Offset: 0x0000F6F0 [Token(Token = "0x6001A31")] [Address(RVA = "0xCC8430", Offset = "0xCC7430", VA = "0x180CC8430")] private static bool SameRoot(string root, string path) { return default(bool); } // Token: 0x06001A32 RID: 6706 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A32")] [Address(RVA = "0xCC48A0", Offset = "0xCC38A0", VA = "0x180CC48A0")] 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: 0x06001A33 RID: 6707 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A33")] [Address(RVA = "0xCC5FB0", Offset = "0xCC4FB0", VA = "0x180CC5FB0")] 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: 0x06001A34 RID: 6708 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A34")] [Address(RVA = "0xCC5D90", Offset = "0xCC4D90", VA = "0x180CC5D90")] public static string Combine(string path1, string path2, string path3) { return null; } // Token: 0x06001A35 RID: 6709 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001A35")] [Address(RVA = "0xCC8740", Offset = "0xCC7740", VA = "0x180CC8740")] internal static void Validate(string path) { } // Token: 0x06001A36 RID: 6710 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001A36")] [Address(RVA = "0xCC8910", Offset = "0xCC7910", VA = "0x180CC8910")] internal static void Validate(string path, string parameterName) { } // Token: 0x17000325 RID: 805 // (get) Token: 0x06001A37 RID: 6711 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000325")] internal static string DirectorySeparatorCharAsString { [Token(Token = "0x6001A37")] [Address(RVA = "0xCC9060", Offset = "0xCC8060", VA = "0x180CC9060")] get { return null; } } // Token: 0x17000326 RID: 806 // (get) Token: 0x06001A38 RID: 6712 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000326")] internal static char[] TrimEndChars { [Token(Token = "0x6001A38")] [Address(RVA = "0xCC9120", Offset = "0xCC8120", VA = "0x180CC9120")] get { return null; } } // Token: 0x06001A39 RID: 6713 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001A39")] [Address(RVA = "0xCC53F0", Offset = "0xCC43F0", VA = "0x180CC53F0")] internal static void CheckSearchPattern(string searchPattern) { } // Token: 0x06001A3A RID: 6714 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001A3A")] [Address(RVA = "0xCC52E0", Offset = "0xCC42E0", VA = "0x180CC52E0")] internal static void CheckInvalidPathChars(string path, bool checkAdditional = false) { } // Token: 0x06001A3B RID: 6715 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001A3B")] [Address(RVA = "0xCC7EE0", Offset = "0xCC6EE0", VA = "0x180CC7EE0")] 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: 0x04000DCF RID: 3535 [Token(Token = "0x4000DCF")] [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: 0x04000DD0 RID: 3536 [Token(Token = "0x4000DD0")] 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: 0x04000DD1 RID: 3537 [Token(Token = "0x4000DD1")] public static readonly char DirectorySeparatorChar; /// A platform-specific separator character used to separate path strings in environment variables. // Token: 0x04000DD2 RID: 3538 [Token(Token = "0x4000DD2")] public static readonly char PathSeparator; // Token: 0x04000DD3 RID: 3539 [Token(Token = "0x4000DD3")] internal static readonly string DirectorySeparatorStr; /// Provides a platform-specific volume separator character. // Token: 0x04000DD4 RID: 3540 [Token(Token = "0x4000DD4")] public static readonly char VolumeSeparatorChar; // Token: 0x04000DD5 RID: 3541 [Token(Token = "0x4000DD5")] internal static readonly char[] PathSeparatorChars; // Token: 0x04000DD6 RID: 3542 [Token(Token = "0x4000DD6")] private static readonly bool dirEqualsVolume; // Token: 0x04000DD7 RID: 3543 [Token(Token = "0x4000DD7")] internal static readonly char[] trimEndCharsWindows; // Token: 0x04000DD8 RID: 3544 [Token(Token = "0x4000DD8")] internal static readonly char[] trimEndCharsUnix; } }