private static string TempDirectory()
{
if (s_tempDirectory == null)
{
string tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
Directory.CreateDirectory(tempDirectory);
s_tempDirectory = tempDirectory;
}
return s_tempDirectory;
}
}