MD5Digest.Clear

From Real Software Documentation

Jump to: navigation, search
Method
MD5Digest.Clear ( )

Resets the MD5Digest object so that you can start with a new data stream.

Example

The following example calls Clear after the MD5Digest instance processes a string.

Dim m as New MD5Digest
Dim s as String

m.Process("Hello world")
s=m.Value

label1.text=s
m.Clear

m.Process("Hello world?")
s=m.value
label2.text=s
Personal tools