Affecto.Pdf.Toolkit.PdfSigner.GetTempPath C# (CSharp) Method

GetTempPath() private static method

private static GetTempPath ( string tempFolderPath ) : string
tempFolderPath string
return string
        private static string GetTempPath(string tempFolderPath)
        {
            if (!string.IsNullOrWhiteSpace(tempFolderPath) && Directory.Exists(tempFolderPath))
            {
                 return Path.Combine(tempFolderPath, Path.GetRandomFileName());
            }

            return Path.GetTempFileName();
        }