C# Class Microsoft.OneDrive.Sdk.OneDriveClient

Inheritance: IDisposable
Show file Open project: OneDrive/onedrive-sdk-csharp Class Usage Examples

Public Methods

Method Description
ItemWithPath ( string path ) : IItemRequestBuilder

Gets item request builder for the specified item path. The item request builder.

OneDriveClient ( IAuthenticationProvider authenticationProvider, IHttpProvider httpProvider = null ) : Microsoft.Graph

Instantiates a new OneDriveClient.

OneDriveClient ( string baseUrl, IAuthenticationProvider authenticationProvider, IHttpProvider httpProvider = null ) : Microsoft.Graph

Instantiates a new OneDriveClient.

Method Details

ItemWithPath() public method

Gets item request builder for the specified item path. The item request builder.
public ItemWithPath ( string path ) : IItemRequestBuilder
path string
return IItemRequestBuilder

OneDriveClient() public method

Instantiates a new OneDriveClient.
public OneDriveClient ( IAuthenticationProvider authenticationProvider, IHttpProvider httpProvider = null ) : Microsoft.Graph
authenticationProvider IAuthenticationProvider The for authenticating request messages.
httpProvider IHttpProvider The for sending requests.
return Microsoft.Graph

OneDriveClient() public method

Instantiates a new OneDriveClient.
public OneDriveClient ( string baseUrl, IAuthenticationProvider authenticationProvider, IHttpProvider httpProvider = null ) : Microsoft.Graph
baseUrl string The base service URL. For example, "https://api.onedrive.com/v1.0."
authenticationProvider IAuthenticationProvider The for authenticating request messages.
httpProvider IHttpProvider The for sending requests.
return Microsoft.Graph