Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

get sha1 of file c#

using(var cryptoProvider = new SHA1CryptoServiceProvider())
{
    string hash = BitConverter
            .ToString(cryptoProvider.ComputeHash(buffer));
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file
ADD COMMENT
Topic
Name
5+2 =