Class S3V4
  
  
  
  
    Inheritance
    System.Object
    S3V4
   
  
    Inherited Members
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
   
  
  Assembly: NFX.Web.dll
  Syntax
  
  Methods
  
  
  
  
  FileExists(S3V4URI, String, String, Int32)
  
  
  Declaration
  
    public static bool FileExists(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  FileExists(String, String, String, String, String, Int32)
  
  
  Declaration
  
    public static bool FileExists(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  FolderExists(S3V4URI, String, String, Int32)
  
  
  Declaration
  
    public static bool FolderExists(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  FolderExists(String, String, String, String, String, Int32)
  
  
  Declaration
  
    public static bool FolderExists(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  GetFile(S3V4URI, String, String, Stream, Int32)
  
  
  Declaration
  
    public static void GetFile(S3V4URI uri, string accessKey, string secretKey, Stream stream, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.IO.Stream | 
        stream | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  
  
  
  GetFile(String, String, String, String, String, Stream, Int32)
  
  
  Declaration
  
    public static void GetFile(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, Stream stream, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.IO.Stream | 
        stream | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public static IDictionary<string, string> GetItemMetadata(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Collections.Generic.IDictionary<System.String, System.String> | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    public static IDictionary<string, string> GetItemMetadata(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Collections.Generic.IDictionary<System.String, System.String> | 
         | 
      
    
  
  
  
  
  ItemExists(S3V4URI, String, String, Int32)
  
  
  Declaration
  
    public static bool ItemExists(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  ItemExists(String, String, String, String, String, Int32)
  
  
  Declaration
  
    public static bool ItemExists(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  ListBucket(S3V4URI, String, String, Int32, String, String, Nullable<Int32>)
  
  
  Declaration
  
    public static string ListBucket(S3V4URI uri, string accessKey, string secretKey, int timeoutMs, string prefix = null, string marker = null, int ? maxKeys = default (int ? ))
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
      
        | System.String | 
        prefix | 
         | 
      
      
        | System.String | 
        marker | 
         | 
      
      
        | System.Nullable<System.Int32> | 
        maxKeys | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  ListBucket(String, String, String, String, String, Int32, String, String, Nullable<Int32>)
  
  
  Declaration
  
    public static string ListBucket(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs, string prefix = null, string marker = null, int ? maxKeys = default (int ? ))
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
      
        | System.String | 
        prefix | 
         | 
      
      
        | System.String | 
        marker | 
         | 
      
      
        | System.Nullable<System.Int32> | 
        maxKeys | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  PutFile(S3V4URI, String, String, Stream, Int32)
  
  
  Declaration
  
    public static string PutFile(S3V4URI uri, string accessKey, string secretKey, Stream contentStream, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.IO.Stream | 
        contentStream | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  PutFile(String, String, String, String, String, Stream, Int32)
  
  
  Declaration
  
    public static string PutFile(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, Stream contentStream, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.IO.Stream | 
        contentStream | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  PutFolder(S3V4URI, String, String, Int32)
  
  
  Declaration
  
    public static string PutFolder(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  PutFolder(String, String, String, String, String, Int32)
  
  
  Declaration
  
    public static string PutFolder(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  PutItem(String, String, String, String, String, Stream, Int32)
  
  
  Declaration
  
    public static string PutItem(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, Stream contentStream, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.IO.Stream | 
        contentStream | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  RemoveFile(S3V4URI, String, String, Int32)
  
  
  Declaration
  
    public static void RemoveFile(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  
  
  
  RemoveFile(String, String, String, String, String, Int32)
  
  
  Declaration
  
    public static void RemoveFile(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  
  
  
  RemoveFolder(S3V4URI, String, String, Int32)
  
  
  Declaration
  
    public static void RemoveFolder(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  
  
  
  RemoveFolder(String, String, String, String, String, Int32)
  
  
  Declaration
  
    public static void RemoveFolder(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  
  
  
  RemoveItem(S3V4URI, String, String, Int32)
  
  
  Declaration
  
    public static void RemoveItem(S3V4URI uri, string accessKey, string secretKey, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | S3V4URI | 
        uri | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  
  
  
  RemoveItem(String, String, String, String, String, Int32)
  
  
  Declaration
  
    public static void RemoveItem(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  
  
  
  SetACL(String, String, String, String, String, String, Int32)
  
  
  Declaration
  
    public static void SetACL(string itemLocalPath, string accessKey, string secretKey, string bucket, string region, string acl, int timeoutMs)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        itemLocalPath | 
         | 
      
      
        | System.String | 
        accessKey | 
         | 
      
      
        | System.String | 
        secretKey | 
         | 
      
      
        | System.String | 
        bucket | 
         | 
      
      
        | System.String | 
        region | 
         | 
      
      
        | System.String | 
        acl | 
         | 
      
      
        | System.Int32 | 
        timeoutMs | 
         | 
      
    
  
  Extension Methods