Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法检索Google Chrome';s当前选项卡';使用Windows服务的url(C#)_C#_Google Chrome_Windows Services - Fatal编程技术网

无法检索Google Chrome';s当前选项卡';使用Windows服务的url(C#)

无法检索Google Chrome';s当前选项卡';使用Windows服务的url(C#),c#,google-chrome,windows-services,C#,Google Chrome,Windows Services,我一直在尝试使用Windows服务检索Chrome当前选项卡的url,但它无法做到这一点。然而,当我尝试使用表单应用程序执行同样的操作时,我能够获得url。我使用了此链接中给出的代码: 我错过了什么?请帮忙 服务通常不会与用户应用程序在同一窗口站中运行,并且不能与桌面交互。@Lloyd难道没有出路吗?什么黑客之类的?仅供参考-我可以使用此链接中提到的方法,使用相同的服务获取IE的当前url:

我一直在尝试使用Windows服务检索Chrome当前选项卡的url,但它无法做到这一点。然而,当我尝试使用表单应用程序执行同样的操作时,我能够获得url。我使用了此链接中给出的代码:


我错过了什么?请帮忙

服务通常不会与用户应用程序在同一窗口站中运行,并且不能与桌面交互。@Lloyd难道没有出路吗?什么黑客之类的?仅供参考-我可以使用此链接中提到的方法,使用相同的服务获取IE的当前url: