-
-
Save MoimHossain/eba904605acc232e64ba2deadaa902cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FileSystemApi | |
{ | |
private readonly string storageAccountName; | |
private readonly OAuthTokenProvider tokenProvider; | |
private readonly Uri baseUri; | |
private const string ACK_HEADER_NAME = "x-ms-acl"; | |
private const string API_VERSION_HEADER_NAME = "x-ms-version"; | |
private const string API_VERSION_HEADER_VALUE = "2018-11-09"; | |
private int Timeout = 100; | |
public FileSystemApi(string storageAccountName, OAuthTokenProvider tokenProvider) | |
{ | |
this.storageAccountName = storageAccountName; | |
this.tokenProvider = tokenProvider; | |
this.baseUri = new Uri($"https://{this.storageAccountName}.dfs.core.windows.net"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment