title: 'The method or operation is not implemented' in Xamarin Forms when using Named Pipe
body: <p>First of all, hello everyone as it's my first post.</p>
  
  <p>Getting to the case: I'm trying to send message between two apps - one on computer and the other on Android through Named Pipes and executing the following code ends up with an <strong>"The method or operation is not implemented"</strong> exception.  </p>
  
  <p>The code fragment is an <em>Button Clicked</em> event - the idea is to open a pipe, send through a button text (buttons texts are "Up", "Down", "Left" and "Right) and then close the pipe. </p>
  
  <p>I've tested this and it works as long as the project is a WinForms project using standard System.IO.Pipes. </p>
  
  <pre><code>    private void Button_Clicked(object sender, EventArgs e)
      {
          header.Text = "Pressed: " + (sender as Button).Text;
          try
          {
              using (var pipeClient = new NamedPipeClientStream(SERVERNAME, "testpipe", PipeDirection.Out))
              {
                  header.Text = "Connected with: " + SERVERNAME;
                  using (var stream = new StreamWriter(pipeClient))
                  {
                      pipeClient.Connect();
  
                      stream.Write((sender as Button).Text);
                  }
              }
          }
          catch(Exception exc)
          {
              Debug.WriteLine(exc.StackTrace);
              Debug.WriteLine(exc.Message);
          }
      }
  </code></pre>
  
  <p>The line creating an exception is</p>
  
  <pre><code>using (var pipeClient = new NamedPipeClientStream(SERVERNAME, "testpipe", PipeDirection.Out))
  </code></pre>
  
  <p>I've tested servername (const string) being an IP address, "localhost" or computer name and nothing changes.<br>
  Am I doing something wrong or is this a Xamarin error?</p>