C# Targeting a directory of which a mapname is partially known
<p>I am trying to send a file using the smtp from gmail, but I have stumbled upon a problem.</p>

<p>The file will be stored in the windows appdata folder.
To add the file to the e-mail, I'm using:</p>

<pre><code>attachment = new System.Net.Mail.Attachment((Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "/Folder1/Folder2/Folder3/result.txt"));
</code></pre>

<p>The code as above works, BUT:</p>

<p>The issue I currently have, is that <code>Folder2</code> as seen above, will be a random name containing numbers, letters, and the word <code>TEMP</code>.  </p>

<p>For example <code>a12TEMP34b</code></p>

<p>I have tried and searched if I'm able to use <code>*</code> somehow, but can't seem to get it working.</p>

<p>Any ideas?</p>