WstFileStream.Unlock Method

[This is internal Microsoft documentation - Do not distribute.]

Allows access by other processes to all or part of a file that was previously locked.

Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)



  Public Overridable Sub Unlock ( _
    position As Long, _
    length As Long _
  public virtual void Unlock (
    long position,
    long length


  • position
    The beginning of the range to unlock.
  • length
    The range to be unlocked.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.


Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also


WstFileStream Class
WstFileStream Members
Microsoft.Webstore.WstClient Namespace