Files_CreationTime.Compare Method

public int Files_CreationTime.Compare(string file1_FileName, string file2_FileName)
Namespace: yaTDL.Comparer

Description

Compares the creation time of 2 files using System.DateTime.Compare method. The only necessary parameters are the full file names of both files.

Return value:

greater than zero The creation time of file1 is later than the creation time of file2
zero The creation time of file1 is the same as the creation time of file2
less than zero The creation time of file1 is earlier than the creation time of file2

Exceptions:

ArgumentException The tasks couldn't be compared

Last edited Aug 16, 2009 at 8:43 PM by apoll0, version 1

Comments

No comments yet.