Click or drag to resize

DropboxClient Constructor (String, String, DateTime, String, String, DropboxClientConfig)

Initializes a new instance of the DropboxClient class.

Namespace:  Dropbox.Api
Assembly:  Dropbox.Api (in Dropbox.Api.dll) Version: 5.0
Syntax
public DropboxClient(
	string oauth2AccessToken,
	string oauth2RefreshToken,
	DateTime oauth2AccessTokenExpiresAt,
	string appKey,
	string appSecret,
	DropboxClientConfig config
)

Parameters

oauth2AccessToken
Type: SystemString
The oauth2 access token for making client requests.
oauth2RefreshToken
Type: SystemString
The oauth2 refresh token for refreshing access tokens
oauth2AccessTokenExpiresAt
Type: SystemDateTime
The time when the current access token expires, can be null if using long-lived tokens
appKey
Type: SystemString
The app key to be used for refreshing tokens
appSecret
Type: SystemString
The app secret to be used for refreshing tokens
config
Type: Dropbox.ApiDropboxClientConfig
The DropboxClientConfig.
See Also