4 |
|
using System.Text; |
5 |
|
using RomCheater.PluginFramework.Core; |
6 |
|
using System.Diagnostics; |
7 |
+ |
using System.Security.Principal; |
8 |
|
|
9 |
|
namespace RomCheater.CorePlugins.Config |
10 |
|
{ |
11 |
|
public sealed class GenericConfig : ConfigPlugin |
12 |
|
{ |
13 |
< |
public GenericConfig() |
13 |
< |
: base() |
14 |
< |
{ |
15 |
< |
init(); |
16 |
< |
} |
13 |
> |
public GenericConfig() : base() { } |
14 |
|
|
15 |
< |
private void init() |
16 |
< |
{ |
20 |
< |
Process[] procs = Process.GetProcesses(); |
21 |
< |
this.ValidProcessesForPlugin = new List<Process>(procs); |
22 |
< |
Guid t = this.Id; |
23 |
< |
} |
15 |
> |
|
16 |
> |
protected override bool IsNotValidProcess(ProcContainer p) { return false; } |
17 |
|
#region IPluginBase Members |
18 |
|
public override Guid Id |
19 |
|
{ |