WinDoc.IndexUpdateManager.StringHash C# (CSharp) 메소드

StringHash() 개인적인 메소드

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