Method GetCatalogFilePath
GetCatalogFilePath(string, string)
Given a path to a .hash file, returns the corresponding catalog path with
catalogExtension (e.g. .bin or .json).
Only the file extension is replaced, so a .hash that appears elsewhere
in the path (e.g. a folder name) is left untouched. Any URL query string is
preserved correctly.
Declaration
public static string GetCatalogFilePath(string hashPath, string catalogExtension)
Parameters
| Type | Name | Description |
|---|---|---|
| string | hashPath | The path or URL of the |
| string | catalogExtension | The catalog file extension to apply (e.g. |
Returns
| Type | Description |
|---|---|
| string | The catalog path corresponding to the given hash path. |