Seek Method (offset, origin)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Seek Method (offset, origin)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.Compression.ZipCrcStreamSeek(Int64, SeekOrigin)
Sets the position within the source stream.
Declaration Syntax
C# Visual Basic Visual C++
public override long Seek(
	long offset,
	SeekOrigin origin
)
Public Overrides Function Seek ( 
	offset As Long,
	origin As SeekOrigin
) As Long
public:
virtual long long Seek(
	long long offset, 
	SeekOrigin origin
) override
Parameters
offset (Int64)
A byte offset relative to the origin parameter.
origin (SeekOrigin)
A value of type SeekOrigin indicating the reference point used to obtain the new position.
Return Value
Int64
The new position within the source stream.
Remarks
Note the CRC is only calculated over bytes that are actually read or written, so any bytes skipped by seeking will not contribute to the CRC.

Assembly: Microsoft.Deployment.Compression.Zip (Module: Microsoft.Deployment.Compression.Zip.dll) Version: 3.0.0.0 (3.9.1006.0)