R
rhainland
Guest
I dont know if i am to get banned for this, but i think this need some attention from the developers. I would love to hear something official on this, why are you guys doing it this way?.
Code:
public static bool Detect1()
{
return FindModule("ryft"); //Ryftomate modules should not be in Rift
}
public static bool Detect2()
{
return FindModule("mscoree"); //.NET should not be in Rift
}
public static bool FindModule(string name)
{
var procs = Process.GetProcessesByName("Rift");
foreach (var rift in procs)
{
foreach (ProcessModule mod in rift.Modules)
{
if (mod.ModuleName.ToLower().Contains(name))
return true;
}
}
return false;
}