MemoryStream.Seek Method (Int64, SeekOrigin)
Sets the position within the current stream to the specified value.
Assembly: mscorlib (in mscorlib.dll)
The new position within the stream. This is relative to the loc parameter, and can be positive or negative.
Return ValueType: System.Int64
The new position within the stream, calculated by combining the initial reference point and the offset.
This method overrides Stream.Seek.
Seeking to any location beyond the length of the stream is supported.
Available since 4.5
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1