Skip to content

UploadPathHelper.IsTemporaryFile method

Determines whether the specified file name represents a temporary upload file.

public static bool IsTemporaryFile(string fileName)
parameter description
fileName The name of the file to evaluate. Can be null or empty.

Return Value

true if the file name is not null or empty and indicates a temporary upload file; otherwise, false.

See Also