title: How can I use msinfo32 to get system information but only specific info?
body: <p>I'm using this code :</p>
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Diagnostics;
  using System.Drawing;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  
  namespace System_Information
  {
      public partial class Form1 : Form
      {
          public Form1()
          {
              InitializeComponent();
  
              GetInfo();
          }
  
          private void GetInfo()
          {
              Process process = new Process();
              process.EnableRaisingEvents = true;
              process.StartInfo.UseShellExecute = false;
              process.StartInfo.FileName = &quot;msinfo32.exe&quot;;
              process.StartInfo.CreateNoWindow = true;
              process.StartInfo.Arguments = &quot;/report D:\\Info\\report.txt&quot;;
              process.StartInfo.WorkingDirectory = &quot;D:\\Info&quot;;
              process.Start();
              process.WaitForExit();
              process.Close();
          }
          private void Form1_Load(object sender, EventArgs e)
          {
  
          }
      }
  }
  </code></pre>
  <p>but it's creating a very big file size 1.5MB of information.
  if I want to use the msinfo32 but to show for example only the memory , video car , and mother board info? How can I select it to show only this info ?</p>