Dropbox .NET SDK
Show / Hide Table of Contents

Class SharedLinkSettings

The shared link settings object

Inheritance
object
SharedLinkSettings
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class SharedLinkSettings

Constructors

View Source

SharedLinkSettings(bool?, string, DateTime?, LinkAudience, RequestedLinkAccessLevel, RequestedVisibility, bool?)

Initializes a new instance of the SharedLinkSettings class.

Declaration
public SharedLinkSettings(bool? requirePassword = null, string linkPassword = null, DateTime? expires = null, LinkAudience audience = null, RequestedLinkAccessLevel access = null, RequestedVisibility requestedVisibility = null, bool? allowDownload = null)
Parameters
Type Name Description
bool? requirePassword

Boolean flag to enable or disable password protection.

string linkPassword

If requirePassword is true, this is needed to specify the password to access the link.

DateTime? expires

Expiration time of the shared link. By default the link won't expire.

LinkAudience audience

The new audience who can benefit from the access level specified by the link's access level specified in the link_access_level field of LinkPermissions. This is used in conjunction with team policies and shared folder policies to determine the final effective audience type in the effective_audience field of `LinkPermissions.

RequestedLinkAccessLevel access

Requested access level you want the audience to gain from this link. Note, modifying access level for an existing link is not supported.

RequestedVisibility requestedVisibility

Field is deprecated. Use audience instead. The requested access for this shared link.

bool? allowDownload

Boolean flag to allow or not download capabilities for shared links.

Properties

View Source

Access

Requested access level you want the audience to gain from this link. Note, modifying access level for an existing link is not supported.

Declaration
public RequestedLinkAccessLevel Access { get; protected set; }
Property Value
Type Description
RequestedLinkAccessLevel
View Source

AllowDownload

Boolean flag to allow or not download capabilities for shared links.

Declaration
public bool? AllowDownload { get; protected set; }
Property Value
Type Description
bool?
View Source

Audience

The new audience who can benefit from the access level specified by the link's access level specified in the `link_access_level` field of `LinkPermissions`. This is used in conjunction with team policies and shared folder policies to determine the final effective audience type in the `effective_audience` field of `LinkPermissions.

Declaration
public LinkAudience Audience { get; protected set; }
Property Value
Type Description
LinkAudience
View Source

Expires

Expiration time of the shared link. By default the link won't expire.

Declaration
public DateTime? Expires { get; protected set; }
Property Value
Type Description
DateTime?
View Source

LinkPassword

If RequirePassword is true, this is needed to specify the password to access the link.

Declaration
public string LinkPassword { get; protected set; }
Property Value
Type Description
string
View Source

RequestedVisibility

Field is deprecated. Use Audience instead. The requested access for this shared link.

Declaration
public RequestedVisibility RequestedVisibility { get; protected set; }
Property Value
Type Description
RequestedVisibility
View Source

RequirePassword

Boolean flag to enable or disable password protection.

Declaration
public bool? RequirePassword { get; protected set; }
Property Value
Type Description
bool?

See Also

ModifySharedLinkSettingsArgs
  • View Source
In this article
Back to top Dropbox .NET SDK