Finding the server address

Hi

Is it possible for a smart client plugin to find out which server address the user connected to when starting the smart client?

Yes. Please explore the ConfigDump sample plugin. I believe that sample will give you the overview of the “MIP configuration” and what it includes.

https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/configdump/readme.html&tree=tree_1.html

Thanks, I managed to figure it out.

var serverItem = Configuration.Instance.GetItem(EnvironmentManager.Instance.MasterSite);
var serverAddress = serverItem.Name;