using System;
using System.ServiceProcess;

namespace GoShopService
{
    public partial class Service1 : ServiceBase
    {
        protected override void OnStart(string[] args)
        {
            try
            {
                if (args.Length == 0)
                {

                }
                if (args[0].ToLower() == "/i" || args[0].ToLower() == "-i")
                {

                }
            }
            catch (Exception ex)
            {

            }
        }
        protected override void OnStop()
        {

        }
    }
}

相关文章:

  • 2022-02-16
  • 2022-12-23
  • 2021-08-04
  • 2021-08-04
  • 2022-12-23
  • 2021-07-26
猜你喜欢
  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2021-05-18
  • 2022-12-23
相关资源
相似解决方案