title: Equivalent of ClientCredentials in WCF connection from a C# WinForm?
body: <p>What's the equivalent of ClientCredentials in WCF connection from a C# WinForm application to an HTTP request in Android Java or Swift?</p>
  <pre><code>ServicePointManager.ServerCertificateValidationCallback += delegate { return true; };
  
  SvcClient objSvcClient = new SvcClient();
  objSvcClient.ClientCredentials.UserName.UserName = txtUserName.Text;
  objSvcClient.ClientCredentials.UserName.Password = txtPassword.Text;
  
  int intout = objSvcClient.GetData(999);
  objSvcClient.Close();
  
  MessageBox.Show(intout.ToString());
  </code></pre>