Hi,
i want to write a MD5-Hash of a filename in a listbox, but i only get some wired characters. The output at my console (OS X) print the right hash-output for every file.
This is how my code looks like:
[code] Dim hashMeFolder As FolderItem = SpecialFolder.Desktop
If hashMeFolder Is Nil Then
Return
End If
Dim count As Integer = hashMeFolder.Count
For i As Integer = 1 to count
Dim f As FolderItem = hashMeFolder.Item(i)
If f <> Nil Then
ListBox1.AddRow(f.Name)
Listbox1.Cell(Listbox1.LastIndex, 1) = MD5(f.Name)
End If
Next[/code]
Whats my mistake?