Click or drag to resize

FileExists Method

Determines if the specified file exists on the system.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static bool Exists(
	string fileName
)

Parameters

fileName  String
Directory to check.

Return Value

Boolean
true if the specified file exists, otherwise false. This method also returns false if path is null, an invalid path, or a zero-length string.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also