Click or drag to resize

SharingUserRoutesCreateSharedLinkWithSettingsAsync Method (String, SharedLinkSettings)

Create a shared link with custom settings. If no settings are given then the default visibility is RequestedVisibilityPublic (The resolved visibility, though, may depend on other aspects such as team and shared folder settings).

Namespace:  Dropbox.Api.Sharing.Routes
Assembly:  Dropbox.Api (in Dropbox.Api.dll) Version: 5.0
Syntax
public Task<SharedLinkMetadata> CreateSharedLinkWithSettingsAsync(
	string path,
	SharedLinkSettings settings = null
)

Parameters

path
Type: SystemString
The path to be shared by the shared link.
settings (Optional)
Type: Dropbox.Api.SharingSharedLinkSettings
The requested settings for the newly created shared link.

Return Value

Type: TaskSharedLinkMetadata
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server.
Exceptions
See Also