Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Hi,
I want to read a file or app address in memory in c#
for example an application is running, it's in memory, so I want to find the address of that application in memory
, if there is a way please help me about this.
Thanks.
Posted
Updated 8-Jun-11 5:36am
v2
Comments
OriginalGriff 8-Jun-11 8:29am    
Please use the "Improve question" widget to give a bit more detail - that doesn't make any sense!
mehdi_k 11-Jun-11 5:03am    
thanks , but it is not my point, I'v Improved my question.

1 solution

Hi.

What do you mean by the "app adress"?

Do you wish to read a file to the memory?

If you want to read the contents of a file, there are several ways to do it.
Please have a look at these links.

http://msdn.microsoft.com/en-us/library/ezwyzy7b.aspx[^]
http://www.c-sharpcorner.com/UploadFile/psingh/ReadafileusingCSharp12032005000755AM/ReadafileusingCSharp.aspx[^]
http://www.csharp411.com/c-read-text-file-line-by-line/[^]
 
Share this answer
 
Comments
mehdi_k 8-Jun-11 11:38am    
thanks , but it is not my point, I'v Improved my question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900