Вопрос

I have two server where orchestration can run.I need to know the server name where my orchestration instance has run .How to get this information.

Это было полезно?

Решение

Well...why? If you have the Orchestration's Host mapped to more then on server, there is no reliable or supported way to influence that.

However, you can use any standard .Net technique to get the local computer name. For example:

System.Environment.MachineName

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top