Click here to Skip to main content
12,300,021 members (47,447 online)
Click here to Skip to main content

Stats

473.6K views
11.9K downloads
247 bookmarked
Posted

Minesweeper, Behind the scenes

, 13 Jan 2003 Ms-PL
This article demonstrates directly reading another processes memory in C# using P/Invoke and Win32 Api's.
ProcessMemoryReaderLib
MineSweeperReader
App.ico
bin
Debug
MineSweeperReader.exe
MineSweeperReader.pdb
ProcessMemoryReaderLib.dll
ProcessMemoryReaderLib.pdb
Mine.bmp
MineSweeperReader.csproj.user
obj
Debug
MineSweeperReader.exe
MineSweeperReader.exe.incr
MineSweeperReader.Form1.resources
MineSweeperReader.pdb
MineSweeperReader.projdata
temp
TempPE
ProcessMemoryReaderLib
bin
Debug
ProcessMemoryReaderLib.dll
ProcessMemoryReaderLib.pdb
obj
Debug
ProcessMemoryReaderLib.dll
ProcessMemoryReaderLib.dll.incr
ProcessMemoryReaderLib.pdb
ProcessMemoryReaderLib.projdata
temp
TempPE
ProcessMemoryReaderLib.csproj.user
ProcessMemoryReaderLib.suo
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProcessMemoryReaderLib", "ProcessMemoryReaderLib\ProcessMemoryReaderLib.csproj", "{594702BE-4E44-4F36-8A6F-B95E4180F96B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MineSweeperReader", "MineSweeperReader\MineSweeperReader.csproj", "{799173EF-8FDF-41AB-A027-AD147A4BE3BB}"
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		ConfigName.0 = Debug
		ConfigName.1 = Release
	EndGlobalSection
	GlobalSection(ProjectDependencies) = postSolution
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{594702BE-4E44-4F36-8A6F-B95E4180F96B}.Debug.ActiveCfg = Debug|.NET
		{594702BE-4E44-4F36-8A6F-B95E4180F96B}.Debug.Build.0 = Debug|.NET
		{594702BE-4E44-4F36-8A6F-B95E4180F96B}.Release.ActiveCfg = Release|.NET
		{594702BE-4E44-4F36-8A6F-B95E4180F96B}.Release.Build.0 = Release|.NET
		{799173EF-8FDF-41AB-A027-AD147A4BE3BB}.Debug.ActiveCfg = Debug|.NET
		{799173EF-8FDF-41AB-A027-AD147A4BE3BB}.Debug.Build.0 = Debug|.NET
		{799173EF-8FDF-41AB-A027-AD147A4BE3BB}.Release.ActiveCfg = Release|.NET
		{799173EF-8FDF-41AB-A027-AD147A4BE3BB}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Arik Poznanski
Software Developer (Senior) Verint
Israel Israel
Arik Poznanski is a senior software developer at Verint. He completed two B.Sc. degrees in Mathematics & Computer Science, summa cum laude, from the Technion in Israel.

Arik has extensive knowledge and experience in many Microsoft technologies, including .NET with C#, WPF, Silverlight, WinForms, Interop, COM/ATL programming, C++ Win32 programming and reverse engineering (assembly, IL).

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160525.2 | Last Updated 14 Jan 2003
Article Copyright 2003 by Arik Poznanski
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid