IDocument ApiShare Method
Share document
Definition
Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
A shared token
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
C#
[ObsoleteAttribute("This method is not safe. Please use SecureShare for more security.")]
string Share(
DocumentInfo document,
DateTime? endDate = null,
int? maxDownloadTimes = null
)Parameters
- document DocumentInfo
- The document information.
- endDate NullableDateTime (Optional)
- Time to deactivate the shared token
- maxDownloadTimes NullableInt32 (Optional)
- Deactivate the shared token when reaching the max value
Return Value
StringA shared token