public void GetHashAsync(string filename, Nerdcave.Common.Priority priority) { if (this.GetHashAsyncCompleted != null) { this.GetHashAsyncCompleted(this, new GetHashEventArgs() { Path = filename, Hash = GetHash(filename, priority) }); } }
public string GetHash(string filename, Nerdcave.Common.Priority priority) { return("SomeString".GetHashSHA1()); }