C# Conversion from Java (Message Digest toSHA1CryptoService)

May 6 2013 4:40 PM
I need them to help me with this little problem, I want to transfer this fragment of code Java to c # or that at least the class contains these methods
getInstance (SHA1);
Update (UTF 8)) (docNrStr.getBytes;
Digest ();