C# computer owner name : <p>I have one problem..
I have image converting program so if one user converting image file then his computer name going into file name.'</p>

<p>Something like this I need:
<code>John-Doe.23-07-2016.JPG</code></p>

<p>But at the moment taking computer name like this: <code>John-Doe/John-Doe.23-07-2016.JPG</code></p>

<p>My code:</p>

<pre><code>string user = File.GetAccessControl(textBox1.Text).GetOwner(typeof(NTAccount)).ToString();
</code></pre>

<p>textBox1.Text is place where program choosing folder where is image files.</p>
