In version 2012 I was able to use the following property to get the Host:
e.Context.Application.VaultContext.RemoteBaseUrl.Host
How do I accomplish this in 2014?
Thanks,
John
Hi John,
A colleague has this suggestion:
>> >>
FYI – there is not just one server anymore, there are two: a data server and a file server. They may point to the same host.
Once you have a WebServiceManager, they can be obtained via:
myWebSvcMgr.WebServiceCredentials.ServerIdentities.DataServer
myWebSvcMgr.WebServiceCredentials.ServerIdentities.FileServer
I believe the strings are in the form of URLs (http://hostname or https://hostname).
<< <<
This blog post has a suggestion for getting the WebServiceManager in an event:
Thanks,
Wayne