This is probably really simple, but from within a SmartClient plugin, how can I get the value of Server’s IP-Address?
Thanks.
(I’d really like to know for a customer at 10:30 am EST.)
This is probably really simple, but from within a SmartClient plugin, how can I get the value of Server’s IP-Address?
Thanks.
(I’d really like to know for a customer at 10:30 am EST.)
MessageBox.Show("Uri: " + EnvironmentManager.Instance.MasterSite.ServerId.Uri.ToString(), “mastersite”);
Another answer could be to explore the Config Dump tools plugin sample, and see that you can get a lot of information about servers and items in the system.
I generally recommend making this exploration .. (You might already have ..)