Icon Unlock Method

function Unlock(const Offset: Integer; const Count: Integer):
      Boolean

Available In: Server Applications

Use this method to unlock a region of the file being accessed by the file stream. The region must have been previously locked using the TFileStream Lock method. The method will return True if the unlock succeeds, and False if the unlock fails.
Image