Return true if the file exists and it's size is greater than 0.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Function FileIsValid ( _
	fileName As String _
) As Boolean
C#
public static bool FileIsValid(
	string fileName
)

Parameters

fileName
Type: System..::..String

Return Value

See Also