InedoSDK Reference

GetCommonTempPath Method

Returns the path of a directory which can be used to store files accessible to the installed product.


public static string GetCommonTempPath()


This path will be accessible from both the service and web component of the product. If not properly configured (it is empty or is not an absolute path), an exception is thrown.

This path is primarily intended to store data this is cached for performance reasons. For example, it is used by the Git extension to store cloned repositories.

It is a best practice to create a unique subdirectory inside this path to use. For example, cloned Git repositories used for Git Rafts are stored in the GitRafts subdirectory.