How to restart service remotely?

前端 未结 3 1554
南笙
南笙 2021-02-07 10:57

I can start or stop service remotely from .net project.

ConnectionOptions options = new ConnectionOptions();
options.Username = @\"192.168.36.22\\test\";
options         


        
3条回答
  •  说谎
    说谎 (楼主)
    2021-02-07 11:35

    I have come across a similar problem when I tried to connect, just add your machine name as admin in the 'users' group of the target machine and you will be able to fetch the data.

提交回复
热议问题