Hi!
I need to generate a public links for a created files. I mean a link that generates with a "Share Public Link" point of file context menu. It looks like
localhost/SharedLinks.aspx
Using the following code I can receive the accesskey ang VaultGUID:
SharedLinkInfo linkInfo = new SharedLinkInfo();
linkInfo.Set(objVer, new FileVer { ID = fileID, Version = -1 });
linkInfo = vault.SharedLinkOperations.CreateSharedLink(linkInfo);
var accessKey = linkInfo.AccessKey;
var vaultGUID = vault.GetGUID();
using these values I almost can concatenate them to get the link ( "http://localhost/" + "SharedLinks.aspx?accesskey=" + accessKey + "&VaultGUID=" + vaultGUID) but I do not know where to find the first part of address ("">http://localhost" in this example). As I understand this is one of vault properties (M-Files Web or Classic M-Files Web):

But how to get it via API?
Thank you!
