コード例 #1
0
ファイル: _FileFolderExt.cs プロジェクト: yongzhi444/sharpAHK
        /// <summary>
        /// Compare 2 Files To See if they are the same (either compares Hash or Bytes)
        /// </summary>
        /// <param name="fileOne">First File To Compare</param>
        /// <param name="fileTwo">Second File to Compare</param>
        /// <param name="Hash">Option to Compare File Hashes (Default = True). If False, Compares by Bytes</param>
        /// <returns>Returns True if Files are the Same</returns>
        public static bool FileCompare(this string fileOne, string fileTwo, bool Hash = true)
        {
            _AHK ahk = new _AHK();

            return(ahk.FileCompare(fileOne, fileTwo, Hash));
        }