Channel | Status |
---|---|
CI | |
NuGet.org |
const string key = @"MyApp";
const string value = @"D:\114514\1919810.exe";
var service = new StartupService(key);
// var service = new StartupService(key, StartupType.LocalMachine));
var isSet = service.Check(value);
service.Set(@"""D:\MyAppPath\MyApp.exe"" -myArgs");
service.Delete();