public void Install() { try { Config.Register( nameof(Shapeshifter), $"{processManager.GetCurrentProcessName()}.exe", GetInjectedLibraryName()); } catch (Exception ex) { logger.Error( new Exception( "Could not install the keyboard dominance watcher injection mechanism into the Global Assembly Cache.", ex)); } }