public void ShowModuleNames() { List <string> moduleNames = XboxUtils.GetModuleNames(); foreach (string module in moduleNames) { Console.WriteLine(module); } }
public bool IsModuleLoaded(string moduleName) { try { List <string> modules = XboxUtils.GetModuleNames(); foreach (string module in modules) { if (moduleName.Contains(module)) { return(true); } } } catch (Exception exception) { XboxUtils.ErrorMessage(exception.Message); } return(false); }