title: Network Share/SMB Client
body: <p>I'm trying to read a file from a android phone to a Windows share. I'm using now the StreamWriter, like below:</p>
  
  <pre><code>StreamWriter outfile = new StreamWriter(@"\\10.16.68.253\sam\AllTxtFiles.txt");
  outfile.WriteLine("TESTGENREOIADNIWAN");
  </code></pre>
  
  <p>But i get a Access Denied. I already added the permission to the manifest. And i tested the share using the ES File Explorer (with everyone access). I used the same lines of code on a WPF app and works fine, so my problem is in Android app.</p>
  
  <p>I already tried to change the connection string like the ES, smb://10.16.68.253/sam/AllTxtFiles.txt, but no luck.</p>
  
  <p>Anyone accomplished this ?</p>
  
  <p>Tks !</p>