You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
441 B
15 lines
441 B
namespace RadeonResetBugFixService.Tasks.BasicTasks
|
|
{
|
|
using System;
|
|
using System.ServiceProcess;
|
|
|
|
class StartAudioServiceTask : AbstractServiceTask
|
|
{
|
|
public override string TaskName => "Stopping audio service";
|
|
|
|
protected override bool ShouldStart(ServiceController serviceInfo)
|
|
{
|
|
return serviceInfo.ServiceName.Equals("audiosrv", StringComparison.OrdinalIgnoreCase);
|
|
}
|
|
}
|
|
}
|
|
|