Back to product page

FromFile method (StreamBlob)


Imports contents into the Blob from a file.

Type

None

Syntax

  • Basic
object.FromFile Filename
The FromFile(object,Filename) syntax has these parts:
objectAn expression evaluating to an object of type StreamBlob.
FilenameRequired. A String value. Holds name of the file to import.

Remarks

The FromFile method imports the contents of a file into the stream Blob. You can use this method to make a Blob read a file, and later encrypt, digest or sign it using the wodCrypt component.

Platforms

Windows