[英]How can I execute a URI in the corresponding application in C#?
I would like to execute the URI skype:username?chat
from a C# .NET application, however, I would like it to do it as if it was typing the URI in the Run box and hitting OK. 我想从C#.NET应用程序执行URI
skype:username?chat
,但是,我希望这样做,就好像它是在“运行”框中键入URI并单击“确定”一样。 For some Windows 8 or newer computers, they will be running the modern version of Skype, and I can't call C:\\Program Files (x86)\\Skype\\Phone\\Skype.exe skype:username?chat
if they don't have it on their desktop. 对于某些Windows 8或更高版本的计算机,它们将运行现代版本的Skype,并且我无法调用
C:\\Program Files (x86)\\Skype\\Phone\\Skype.exe skype:username?chat
将其放在他们的桌面上。
使用带有URI的Process.Start方法作为参数执行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.