Hi,
i am creating an instance of ServiceController using a remote/local machine name and the name of the service. When I type sth. like stackoverflow.com as machine name the contructor blocks for a long time and returns an exception.
Example:
string MachineName = "stackoverflow.com"
ServiceController("RemoteRegistry", MachineName );
How can I set here a kind of timeout to cancel this process?