私はすでにAndroidでこれを行っています。今、私は Windows Phone 7 でそれをやろうとしています.c# でこのコードに相当するものは何ですか? また、ソース コードを文字列で保存したいと考えています。
HttpClient httpclient = new DefaultHttpClient();
HttpPost httppost = new HttpPost("http://students.usls.edu.ph/login.cfm");
username = txtUname.getText().toString();
password = txtPass.getText().toString();
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2);
nameValuePairs.add(new BasicNameValuePair("username",username));
nameValuePairs.add(new BasicNameValuePair("password",password));
httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));