-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathIProcess.cs
More file actions
67 lines (58 loc) · 2 KB
/
Copy pathIProcess.cs
File metadata and controls
67 lines (58 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
using System;
using Process.NET.Memory;
using Process.NET.Modules;
using Process.NET.Native.Types;
using Process.NET.Threads;
using Process.NET.Windows;
namespace Process.NET
{
/// <summary>
/// A class that offers several tools to interact with a process.
/// </summary>
/// <seealso cref="System.IDisposable" />
public interface IProcess : IDisposable
{
/// <summary>
/// Provide access to the opened process.
/// </summary>
System.Diagnostics.Process Native { get; set; }
/// <summary>
/// The process handle opened with all rights.
/// </summary>
SafeMemoryHandle Handle { get; set; }
/// <summary>
/// Class for reading and writing memory.
/// </summary>
IMemory Memory { get; set; }
/// <summary>
/// Factory for manipulating threads.
/// </summary>
IThreadFactory ThreadFactory { get; set; }
/// <summary>
/// Factory for manipulating modules and libraries.
/// </summary>
IModuleFactory ModuleFactory { get; set; }
/// <summary>
/// Factory for manipulating memory space.
/// </summary>
IMemoryFactory MemoryFactory { get; set; }
/// <summary>
/// Factory for manipulating windows.
/// </summary>
IWindowFactory WindowFactory { get; set; }
/// <summary>
/// Gets the specified module in the process.
/// </summary>
/// <param name="moduleName">The name of module.</param>
/// <returns><see cref="IProcessModule" />.</returns>
IProcessModule this[string moduleName] { get; }
/// <summary>
/// Gets a pointer to the specified address in the process.
/// </summary>
/// <param name="intPtr">The address pointed.</param>
/// <returns>
/// <see cref="IPointer" />
/// </returns>
IPointer this[IntPtr intPtr] { get; }
}
}