Method SlowFileExists
SlowFileExists(Directory, String)
Returns true if the file exists (can be opened), false if it cannot be opened, and (unlike Java's File.exists) if there's some unexpected error.
Declaration
public static bool SlowFileExists(Directory dir, string fileName)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir | |
System.String | fileName |
Returns
Type | Description |
---|---|
System.Boolean |