void resultset_GetTempFilename(object sender, GetTempFilenameEventArgs e) { #if NO while (true) { string strFilename = PathUtil.MergePath(this.m_strTempDir, Guid.NewGuid().ToString()); if (File.Exists(strFilename) == false) { using (FileStream s = File.Create(strFilename)) { } e.TempFilename = strFilename; return; } } #endif e.TempFilename = GetTempFileName(); }
void resultset_GetTempFilename(object sender, GetTempFilenameEventArgs e) { e.TempFilename = GetTempFileName(); }