Show / Hide Table of Contents

Class File

Inheritance
Object
File
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.Windows
Assembly: UnityEngine.dll
Syntax
public static class File

Methods

Delete(String)

Declaration
public static void Delete(string path)
Parameters
Type Name Description
String path

Exists(String)

Declaration
public static bool Exists(string path)
Parameters
Type Name Description
String path
Returns
Type Description
Boolean

ReadAllBytes(String)

Declaration
public static byte[] ReadAllBytes(string path)
Parameters
Type Name Description
String path
Returns
Type Description
Byte[]

WriteAllBytes(String, Byte[])

Declaration
public static void WriteAllBytes(string path, byte[] bytes)
Parameters
Type Name Description
String path
Byte[] bytes
  • Improve this Doc
  • View Source
Back to top Generated by DocFX