I was trying to get the URL of a document (inside document library) link same as Get a Link option with View (account required).I am using following code with sharing options. SharingInfo object does not have such view link and it is more to sharing document with permission.
var sharingInfo = ObjectSharingInformation.GetObjectSharingInformation(
clientContext, item, false, true, false, true, true, true, true);
clientContext.Load(sharingInfo);
clientContext.ExecuteQuery();
SharingInfo only provides anonymous links only
sharingInfo.AnonymousEditLink
sharingInfo.AnonymousViewLink
What is the correct way to fetch Get a link Urls using c# client object mode .Is this possible?
