Detects whether the specified file exists on the server.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Function FileExists ( _
	remotePath As String _
) As Boolean
C#
bool FileExists(
	string remotePath
)

Parameters

remotePath
Type: System..::..String
The path of the remote file to check.

Return Value

True if the file exists, false otherwise.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also