forked from DaxxTrias/Process.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIProcess.cs
More file actions
71 lines (62 loc) · 2.13 KB
/
IProcess.cs
File metadata and controls
71 lines (62 loc) · 2.13 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
68
69
70
71
using System;
using ProcessNET.Memory;
using ProcessNET.Modules;
using ProcessNET.Native.Types;
using ProcessNET.Threads;
using ProcessNET.Windows;
namespace ProcessNET
{
/// <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>
/// Gets the name of the user this process belongs to.
/// </summary>
string OwnerUser { get; }
/// <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; }
}
}