Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我观察到我的安全软件的某些服务即使从管理员帐户也无法停止。这些服务的星/停止选项被禁用。我想在 vb.net 2010 中编写这种类型的服务,这样任何用户(既不是管理员也不是普通用户)可以停止该服务。
您应该在 VS 的服务属性中设置CanStop = True。
获取或设置一个值,该值指示服务启动后是否可以停止。