WinDoc.IndexUpdateManager.StringHash C# (CSharp) Method

StringHash() private method

private StringHash ( HashAlgorithm hasher, Stream stream ) : string
hasher System.Security.Cryptography.HashAlgorithm
stream Stream
return string
		string StringHash (HashAlgorithm hasher, Stream stream)
		{
			return hasher.ComputeHash (stream).Select (b => String.Format("{0:X2}", b)).Aggregate (string.Concat);
		}