public static void CreateEthlargementNotEnabledInfo() { var notification = new Notification(NotificationsType.Info, NotificationsGroup.EthlargementNotEnabled, Tr("EthLargement-Pill not enabled"), Tr("EthLargement-Pill is not enabled. is not running. Enable it for 50% higher hashrates. Run NiceHash Miner as an Administrator and enable Run Ethlargement in advanced settings.")); notification.Action = new NotificationAction { Info = Tr("Run As Administrator"), Action = () => { RunAsAdmin.SelfElevate(); } }; NotificationsManager.Instance.AddNotificationToList(notification); }
public static void CreateEthlargementElevateInfo() { var notification = new Notification(NotificationsType.Info, NotificationsGroup.EthlargementElevate, Tr("Ethlargement-Pill Settings Insufficient Permissions"), Tr("Can't run Ethlargement-Pill due to insufficient permissions. If you want to use this feature you need to run as Administrator.")); notification.Action = new NotificationAction { Info = Tr("Run As Administrator"), Action = () => { RunAsAdmin.SelfElevate(); } }; NotificationsManager.Instance.AddNotificationToList(notification); }
public static void CreateOptimizationProfileNotEnabledInfo() { var notification = new Notification(NotificationsType.Info, NotificationsGroup.OptimizationWithProfilesDisabled, Tr("Optimization profiles not enabled"), Tr("Optimization profiles are not enabled. Enable for optimization of some GPUs for a bigger hash rate. Run NiceHash Miner as an Administrator and enable Optimization profiles in advanced settings.")); notification.Action = new NotificationAction { Info = Tr("Run As Administrator"), Action = () => { RunAsAdmin.SelfElevate(); } }; NotificationsManager.Instance.AddNotificationToList(notification); }
public static void CreateDeviceMonitoringNvidiaElevateInfo() { var notification = new Notification(NotificationsType.Info, NotificationsGroup.MonitoringNvidiaElevate, Tr("NVIDIA TDP Settings Insufficient Permissions"), Tr("Disabled NVIDIA power mode settings due to insufficient permissions. If you want to use this feature you need to run as Administrator.")); notification.Action = new NotificationAction { Info = Tr("Run As Administrator"), Action = () => { RunAsAdmin.SelfElevate(); } }; NotificationsManager.Instance.AddNotificationToList(notification); }
public static void CreateOptimizationProfileElevateInfo() { var notification = new Notification(NotificationsType.Info, NotificationsGroup.OptimizationProfilesElevate, Tr("Optimization profiles Insufficient Permissions"), Tr("Can't run optimization profiles due to insufficient permissions. If you want to use this feature you need to run as Administrator.")); notification.Action = new NotificationAction { Info = Tr("Run As Administrator"), Action = () => { RunAsAdmin.SelfElevate(); } }; NotificationsManager.Instance.AddNotificationToList(notification); }