Marshal::ReadIntPtr Method (IntPtr, Int32)
Reads a processor native sized integer at a given offset from unmanaged memory.
Assembly: mscorlib (in mscorlib.dll)
The base address in unmanaged memory from which to read.
An additional byte offset, which is added to the ptr parameter before reading.
Return ValueType: System::IntPtr
The integer read from unmanaged memory at the given offset.
Base address (ptr) plus offset byte (ofs) produces a null or invalid address.
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Available since 8.1