WmAutoUpdate.Updater.removeFile C# (CSharp) Method

removeFile() protected method

protected removeFile ( string FileName ) : bool
FileName string
return bool
        protected bool removeFile(string FileName)
        {
            bool Ret = false;
              try
              {
            if (File.Exists(FileName) == false) { return true; }
            File.Delete(FileName);
            Ret = true;
              }
              catch (Exception) { throw; }
              return Ret;
        }