private string CreateTempFile(string sExtension)
        {
            FwTempFile tmpFile = new FwTempFile(sExtension);
            string     sInput  = tmpFile.CloseAndGetPath();

            return(sInput);
        }
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Creates the temp file.
 /// </summary>
 /// <param name="sExtension">The extension.</param>
 /// <returns></returns>
 /// ------------------------------------------------------------------------------------
 private string CreateTempFile(string sExtension)
 {
     // FwTempFile has a Dispose method so we have to call it.
     using (FwTempFile tmpFile = new FwTempFile(sExtension))
     {
         string sInput = tmpFile.CloseAndGetPath();
         return(sInput);
     }
 }