Differences

This shows you the differences between the selected revisions of the page.

2014-12-19 2015-01-13
beta (martin) 5.6.5 Change: Session.CalculateFileChecksum method returns a byte array instead of a string to match .NET framework cryptography functions. (martin)
Line 4: Line 4:
===== Syntax ===== ===== Syntax =====
<code csharp *> <code csharp *>
-public string CalculateFileChecksum(string algorithm, string path)+public byte[] CalculateFileChecksum(string algorithm, string path)
</code> </code>
<code vbnet *> <code vbnet *>
-Public Function CalculateFileChecksum(ByVal algorithm As String, ByVal path As String) As String+Public Function CalculateFileChecksum(ByVal algorithm As String, ByVal path As String) As Byte()
</code> </code>
Line 17: Line 17:
==== Return Value ==== ==== Return Value ====
-A string containing a hex dump of the checksum.+An array containing the checksum.
===== Exceptions ===== ===== Exceptions =====

Last modified: by martin