Class Disks
Inheritance
System.Object
Disks
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GameKit.Dependencies.Utilities
Assembly: GameKit.Dependencies.dll
Syntax
public static class Disks
Methods
FormatPlatformPath(String)
Formats a file path to the current platform.
Declaration
public static string FormatPlatformPath(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path |
Returns
Type | Description |
---|---|
System.String |
WriteToFile(String, String, Boolean)
Writes specified text to a file path.
Declaration
public static void WriteToFile(string text, string path, bool formatPath = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | |
System.String | path | |
System.Boolean | formatPath | True to format the path to the current platform. |