简体   繁体   中英

Can WCF open process in remote machine?

Suppose I have WCF service running on my remote machine, this service get string from the client, on this remote machine I have a .NET executable which I want to execute.

Is it possible to execute this executable from machine hosting the WCF service?

If I interpret your question correctly, you want to know if a WCF service is able to run an external executable and perhaps pass a string parameter. If the interpretation is correct, then you should be able to accomplish with:

Process.Start("someApplication.exe")

The following link might help:
http://msdn.microsoft.com/en-us/library/h6ak8zt5.aspx

Regards,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM