TITcs.SharePoint.Libs by Stiven F. Câmara

<PackageReference Include="TITcs.SharePoint.Libs" Version="1.0.0" />

.NET API 60,016,200 bytes

 SPObjectSharingInformation

public string AnonymousEditLink { get; }

public string AnonymousViewLink { get; }

public bool CanManagePermissions { get; }

public bool HasPendingAccessRequests { get; }

public bool HasPermissionLevels { get; }

public bool IsSharedWithCurrentUser { get; }

public bool IsSharedWithGuest { get; }

public bool IsSharedWithMany { get; }

public bool IsSharedWithSecurityGroup { get; }

public string PendingAccessRequestsLink { get; }

public static SPObjectSharingInformation GetListItemSharingInformation(Guid listID, int itemID, bool excludeCurrentUser, bool excludeSiteAdmin, bool excludeSecurityGroups, bool retrieveAnonymousLinks, bool retrieveUserInfoDetails, bool checkForAccessRequests)

public static SPObjectSharingInformation GetObjectSharingInformation(SPSecurableObject securableObject, bool excludeCurrentUser, bool excludeSiteAdmin, bool excludeSecurityGroups, bool retrieveAnonymousLinks, bool retrieveUserInfoDetails, bool checkForAccessRequests, bool retrievePermissionLevels)

public static SPObjectSharingInformation GetWebSharingInformation(bool excludeCurrentUser, bool excludeSiteAdmin, bool excludeSecurityGroups, bool retrieveAnonymousLinks, bool retrieveUserInfoDetails, bool checkForAccessRequests)