Class SkyDriveStorageClient
SkyDrive cloud storage client.
Inherited Members
Namespace: FastReport.Cloud.StorageClient.SkyDrive
Assembly: FastReport.dll
Syntax
public class SkyDriveStorageClient : CloudStorageClient
Constructors
SkyDriveStorageClient()
Initializes a new instance of the SkyDriveStorageClient class.
Declaration
public SkyDriveStorageClient()
SkyDriveStorageClient(ClientInfo)
Initializes a new instance of the SkyDriveStorageClient class.
Declaration
public SkyDriveStorageClient(ClientInfo clientInfo)
Parameters
Type | Name | Description |
---|---|---|
ClientInfo | clientInfo | The client info. |
SkyDriveStorageClient(String, String)
Initializes a new instance of the SkyDriveStorageClient class.
Declaration
public SkyDriveStorageClient(string clientId, string clientSecret)
Parameters
Type | Name | Description |
---|---|---|
System.String | clientId | Client ID. |
System.String | clientSecret | Client Secret. |
Properties
AccessToken
Gets or sets the access token.
Declaration
public string AccessToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AuthCode
Gets or sets the authorization code.
Declaration
public string AuthCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientInfo
Gets or sets the client info.
Declaration
public ClientInfo ClientInfo { get; set; }
Property Value
Type | Description |
---|---|
ClientInfo |
Methods
GetAccessToken()
Gets the access token.
Declaration
public string GetAccessToken()
Returns
Type | Description |
---|---|
System.String | The access token value. |
GetAuthorizationUrl()
Gets the authorization URL.
Declaration
public string GetAuthorizationUrl()
Returns
Type | Description |
---|---|
System.String | The authorization URL string. |
SaveMemoryStream(MemoryStream)
Saves a memory stream to cloud.
Declaration
protected override void SaveMemoryStream(MemoryStream ms)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | ms | The memory stream that should be saved. |