¡@

Home 

c# Programming Glossary: pathdest

C# MD5 hasher example

http://stackoverflow.com/questions/827527/c-sharp-md5-hasher-example

getting a lock on the file I've copied. File.Copy pathSrc pathDest true String md5Result StringBuilder sb new StringBuilder MD5.. MD5 md5Hasher MD5.Create using FileStream fs File.OpenRead pathDest foreach Byte b in md5Hasher.ComputeHash fs sb.Append b.ToString.. b.ToString x2 .ToLower md5Result sb.ToString File.Delete pathDest I am then getting a 'process cannot access the file' exception..