public HidGuardianManager(RegistryModifierService registryModifierService) { this.registryModifierService = registryModifierService; string driverFile = Path.Combine(Environment.SystemDirectory, "drivers", "HidGuardian.sys"); if (File.Exists(driverFile)) { Installed = true; logger.Info($"HidGuardian is installed with version: {FileVersionInfo.GetVersionInfo(driverFile).FileVersion}"); } else { Installed = false; logger.Info($"HidGuardian is not installed"); } }
public IdHelper(RegistryModifierService registryModifierService) { this.registryModifierService = registryModifierService; }