HaspFile.FileSize Method

Namespace: Aladdin.Hasp

Description

Retrieves the byte size of a memory file from a Sentinel protection key.

Syntax

HaspStatus FileSize ( ref Int32 size )

Parameters

size

Reference to the Int32 object that receives the file size.

Return Values

A HaspStatus status code.

Usage Notes

This method is used to determine the size of a memory file in a Sentinel protection key. This information is useful when reading or writing to the memory of a Sentinel protection key.

Use the HaspFile constructor to specify the file to examine.

Related Topics

Read Method

Write Method