title: C# Read pointer address value
body: <p>(Sorry for my bad English )</p>
  
  <p>How to read a value address from pointer in C#?</p>
  
  <p>Example:
  I know my pointer but the value change at application starting.</p>
  
  <p>1) Start</p>
  
  <pre><code>(Pointer) 0x0018F36C   =  ( Value) 0x0342AD68
  </code></pre>
  
  <p>2) Restart</p>
  
  <pre><code>(Pointer) 0x0018F36C  = ( Value Changed ) 0x0342AE20
  </code></pre>
  
  <p>Actually i have a base address 0x0018F36C
  but need to read value from pointer and save in long</p>
  
  <p>example:</p>
  
  <pre><code>long addr_base = 0x0018F36C;
  long address;  //Obviously I do not know the Address
  </code></pre>
  
  <p>now i need to read long value from  addr_base and put the value (long) in address </p>
  
  <p>example</p>
  
  <pre><code>addr_base = memory.ReadAddress(addr_base)
  </code></pre>
  
  <p>anyone know how to read address stored in the variable called addr_base?</p>