Beispiel #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="AProcessSharp" /> class.
 /// </summary>
 /// <param name="processId">The process id of the process to open with all rights.</param>
 /// <param name="type">The type of memory being manipulated.</param>
 public AProcessSharp(int processId, AMemoryType type) : this(AProcessHelper.FromProcessId(processId), type)
 {
 }
Beispiel #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="AProcessSharp" /> class.
 /// </summary>
 /// <param name="processName">Name of the process.</param>
 /// <param name="type">The type of memory being manipulated.</param>
 public AProcessSharp(string processName, AMemoryType type) : this(AProcessHelper.FromName(processName), type)
 {
 }