IPWorks Cloud 2020 .NET Edition

Questions / Feedback?

UpdateLink Method

Updates a request or download link.

Syntax

Remarks

This method updates the link information for a link identified by LinkId. The the component requires the link to be in the Links collection and be modified from there.

The following properties can be updated from the ShareFileLink type:

  • ExpirationDate
  • MaxDownloads
  • Name
  • RequireLogin
  • Title


// Updates a link to require login.
shareFile.Links[1].RequireLogin = true;
shareFile.UpdateLink(shareFile.Links[1].Id);

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 .NET Edition - Version 20.0 [Build 8265]