Class PathHelper
- Namespace
 - Kentico.Xperience.AzureStorage
 
- Assembly
 - Kentico.Xperience.AzureStorage.dll
 
Contains helper members for accessing to blob storage, cache and temp.
public static class PathHelper
  - Inheritance
 - 
      objectPathHelper
 
Properties
CachePath
Gets or sets path to local storage for cache.
public static string CachePath { get; set; }
  Property Value
- string
 
TempPath
Gets or sets path to local storage for temp.
public static string TempPath { get; set; }
  Property Value
- string
 
Methods
GetFlattenedFileName(string)
Generates an organized file path from the original blob path using XxHash128. Files are organized into directories based on the first 2 characters of the hash.
public static string GetFlattenedFileName(string originalBlobPath)
  Parameters
originalBlobPathstringThe original blob path to organize.
Returns
- string
 An organized file path in format: {first2chars}/{hash}{extension}