コード例 #1
0
 /// <summary>
 /// Computes the Script text hash of a single script text.
 /// </summary>
 /// <param name="scriptText">The script text.</param>
 /// <returns>A hash string which unique identifies the script text.</returns>
 public static string ComputeScriptTextHash(string[] scriptText)
 {
     return(FileHash.ComputeScriptTextHash(scriptText));
 }
コード例 #2
0
 /// <summary>
 /// Computes the Script text hash of a single script text.
 /// </summary>
 /// <param name="scriptText">The script text.</param>
 /// <returns>A hash string which unique identifies the script text.</returns>
 public static string ComputeScriptTextHash(string scriptText)
 {
     return(FileHash.ComputeScriptTextHash(new string[] { scriptText }));
 }