Click or drag to resize

FileHelpers Class

File helpers for copying, deleting, etc
Inheritance Hierarchy
SystemObject
  ImmerseSDKFileHelpers

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public static class FileHelpers

The FileHelpers type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCopyFilesRecursively(String, String)
Copy all the files found from one root folder to the target folder. This is a recursive function, and it will keep the relative folder structure as it copies.
Public methodStatic memberCopyFilesRecursively(String, String, String)
Copy all the files found with the wildcard from one root folder to the target folder. This is a recursive function, and it will keep the relative folder structure as it copies.
Public methodStatic memberDeleteEverything(String)
Delete all files and folders in the path specified
Public methodStatic memberDeleteEverything(String, Boolean)
Delete all files and folders in the path specified
Public methodStatic memberEnsureNotReadonly
Ensure file is not read-only
Public methodStatic memberFixSlashesforPlatform
Replace the AltDirectorySeparatorChar with the DirectorySeparatorChar for the platform
Public methodStatic memberFixSlashesforUnity
Replace the '\\' with '/' so Unity does not complain
Top
See Also