protected static string CreateTempFileName(string ext) { Guid g = GetGuid(); string retVal = Path.Combine(_tempFolder, (_tempFilesPrefix != null ? _tempFilesPrefix + "-" : "") + g.ToString().Substring(0, 16)) + ext; return retVal; } }