1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741
|
<Type Name="HttpWebRequest" FullName="System.Net.HttpWebRequest" FullNameSP="System_Net_HttpWebRequest" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public serializable HttpWebRequest extends System.Net.WebRequest" />
<TypeSignature Language="C#" Value="public class HttpWebRequest : WebRequest" />
<MemberOfLibrary>Networking</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.x.x</AssemblyVersion>
<AssemblyCulture>none</AssemblyCulture>
<Attributes>
<Attribute>
<AttributeName>CLSCompliantAttribute(true)</AttributeName>
<Excluded>0</Excluded>
</Attribute>
</Attributes>
</AssemblyInfo>
<ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
<Docs>
<summary>
<para>Provides an HTTP-specific implementation of the <see cref="T:System.Net.WebRequest" />
class.</para>
</summary>
<remarks>
<para> This class implements
properties and methods defined in <see cref="T:System.Net.WebRequest" /> and provides additional
properties and methods that enable the user to interact directly with servers
using the Hypertext Transfer Protocol (HTTP). </para>
<block subset="none" type="note">
<para>Instances of this class are
automatically created by the <see cref="T:System.Net.WebRequest" /> class. For example,
an instance of <see cref="T:System.Net.HttpWebRequest" /> is created when the <see cref="M:System.Net.WebRequest.Create(System.Uri,System.Boolean)" />
method is called and a Uniform Resource Identifier (URI) beginning with <c>http://</c> is specified.
It is expected that an instance of this class will be constructed for every
request made to the server. For example, after a call to <see cref="M:System.Net.HttpWebRequest.Abort" />
cancels an asynchronous operation, a call to <see cref="M:System.Net.HttpWebRequest.GetRequestStream" /> causes a <see cref="T:System.Net.WebException" /> to
be thrown.</para>
<para>Requests can be sent synchronously or
asynchronously. The <see cref="M:System.Net.HttpWebRequest.GetResponse" /> method
sends a request to
a server synchronously and returns a <see cref="T:System.Net.HttpWebResponse" />
instance containing the response. An asynchronous request for a resource
is sent using the <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" /> and <see cref="M:System.Net.HttpWebRequest.EndGetResponse(System.IAsyncResult)" /> methods. </para>
<para> Request data is sent using a request stream. The <see cref="M:System.Net.HttpWebRequest.GetRequestStream" />
, <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" />, and <see cref="M:System.Net.HttpWebRequest.EndGetRequestStream(System.IAsyncResult)" /> methods
return a <see cref="T:System.IO.Stream" /> instance used to send
data.</para>
<para>When errors occur while accessing an Internet resource,
the <see cref="T:System.Net.HttpWebRequest" /> class throws a <see cref="T:System.Net.WebException" />
, and the <see cref="P:System.Net.WebException.Status" qualify="true" />
property that indicates the source of the error. When <see cref="P:System.Net.WebException.Status" qualify="true" /> is <see cref="F:System.Net.WebExceptionStatus.ProtocolError" qualify="true" />, the <see cref="P:System.Net.WebException.Response" /> property contains the <see cref="T:System.Net.HttpWebResponse" />
received from the Internet resource. </para>
<para> Certain HTTP headers are protected; the user cannot set
them directly in the header collection obtained from the <see cref="P:System.Net.HttpWebRequest.Headers" />
property. Instead, these headers are set using the
associated properties of a <see cref="T:System.Net.HttpWebRequest" /> instance, or are set by the system. The following table describes how
each protected header is set.</para>
<list type="table">
<listheader>
<term>Header</term>
<description>Set by</description>
</listheader>
<item>
<term> Accept</term>
<description>
<see cref="P:System.Net.HttpWebRequest.Accept" />
</description>
</item>
<item>
<term> Connection</term>
<description>
<para>
<see cref="P:System.Net.HttpWebRequest.Connection" />
</para>
<para>
<see cref="P:System.Net.HttpWebRequest.KeepAlive" />
</para>
</description>
</item>
<item>
<term> Content-Length</term>
<description>
<see cref="P:System.Net.HttpWebRequest.ContentLength" />
</description>
</item>
<item>
<term> Content-Type</term>
<description>
<see cref="P:System.Net.HttpWebRequest.ContentType" />
</description>
</item>
<item>
<term> Expect</term>
<description>
<see cref="P:System.Net.HttpWebRequest.Expect" />
</description>
</item>
<item>
<term> Date</term>
<description>Set to current date by the system.</description>
</item>
<item>
<term> Host</term>
<description> Set to current host by the
system.</description>
</item>
<item>
<term> if-Modified-since</term>
<description>
<see cref="P:System.Net.HttpWebRequest.IfModifiedSince" />
</description>
</item>
<item>
<term> Range</term>
<description>
<see cref="M:System.Net.HttpWebRequest.AddRange(System.Int32,System.Int32)" />
</description>
</item>
<item>
<term> Referer</term>
<description>
<see cref="P:System.Net.HttpWebRequest.Referer" />
</description>
</item>
<item>
<term> Transfer-Encoding</term>
<description>
<para>
<see cref="P:System.Net.HttpWebRequest.TransferEncoding" />
</para>
<para>
<see cref="P:System.Net.HttpWebRequest.SendChunked" />
</para>
</description>
</item>
<item>
<term> User-Agent</term>
<description>
<see cref="P:System.Net.HttpWebRequest.UserAgent" />
</description>
</item>
</list>
</block>
</remarks>
</Docs>
<Base>
<BaseTypeName>System.Net.WebRequest</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName="Abort">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Abort()" />
<MemberSignature Language="C#" Value="public override void Abort();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Cancels
an asynchronous operation.</para>
</summary>
<remarks>
<para>
<see cref="M:System.Net.HttpWebRequest.Abort" />
cancels any pending asynchronous operation. After this method is called, calling <see cref="M:System.Net.HttpWebRequest.GetResponse" />, <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" />, <see cref="M:System.Net.HttpWebRequest.EndGetResponse(System.IAsyncResult)" />, <see cref="M:System.Net.HttpWebRequest.GetRequestStream" />, <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" />, or <see cref="M:System.Net.HttpWebRequest.EndGetRequestStream(System.IAsyncResult)" /> will throw a <see cref="T:System.Net.WebException" /> with <see cref="P:System.Net.WebException.Status" /> set to <see cref="F:System.Net.WebExceptionStatus.RequestCanceled" />
.</para>
<block subset="none" type="note">
<para>If no pending request exists, calling this method does not cause an exception
to be thrown.</para>
<para>This method
overrides <see cref="M:System.Net.WebRequest.Abort" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="EndGetRequestStream">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.IO.Stream EndGetRequestStream(class System.IAsyncResult asyncResult)" />
<MemberSignature Language="C#" Value="public override Stream EndGetRequestStream(IAsyncResult asyncResult);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.IO.Stream</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="asyncResult" Type="System.IAsyncResult" />
</Parameters>
<Docs>
<summary>
<para>Completes an asynchronous request for a stream that was
started by the <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" />
method.</para>
</summary>
<param name="asyncResult">The <see cref="T:System.IAsyncResult" /> object that holds the state information for the asynchronous operation.</param>
<returns>
<para>A <see cref="T:System.IO.Stream" /> to write request data to.</para>
</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="asyncResult " />is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="asyncResult" /> was not returned by the current instance from a call to <see cref="M:System.Net.WebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" />.</exception>
<exception cref="T:System.InvalidOperationException">
<para> This method was called previously using <paramref name="asyncResult." /></para>
<para>-or-</para>
<para>No stream is available.</para>
</exception>
<exception cref="T:System.Net.WebException">
<para>
<see cref="M:System.Net.HttpWebRequest.Abort" /> was previously called.</para>
<para>-or-</para>
<para>An error occurred while processing the request.</para>
</exception>
<remarks>
<block subset="none" type="note">
<para> The caller is responsible for calling the <see cref="M:System.IO.Stream.Close" qualify="true" />
method to close the
stream.
</para>
<para>This method overrides <see cref="M:System.Net.WebRequest.EndGetRequestStream(System.IAsyncResult)" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="BeginGetRequestStream">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.IAsyncResult BeginGetRequestStream(class System.AsyncCallback callback, object state)" />
<MemberSignature Language="C#" Value="public override IAsyncResult BeginGetRequestStream(AsyncCallback callback, object state);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.IAsyncResult</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="callback" Type="System.AsyncCallback" />
<Parameter Name="state" Type="System.Object" />
</Parameters>
<Docs>
<summary>
<para> Begins an asynchronous request for a stream in which to write data to
be sent in the current instance.</para>
</summary>
<param name="callback">A <see cref="T:System.AsyncCallback" /> delegate to be called when the stream is available. Can be <see langword="null" /> .</param>
<param name="state">A <see cref="T:System.Object" /> containing state information for the asynchronous request. Can be <see langword="null" /> .</param>
<returns>
<para>A <see cref="T:System.IAsyncResult" /> that contains information about the asynchronous operation.</para>
</returns>
<exception cref="T:System.InvalidOperationException">
<para>The stream is being used by a previous call to <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" /> .</para>
<para>-or-</para>
<para>No writeable stream is available.</para>
</exception>
<exception cref="T:System.Net.ProtocolViolationException">
<para>The <see cref="P:System.Net.HttpWebRequest.ContentLength" /> property of the current instance is not set.</para>
<para>-or-</para>
<para>The <see cref="P:System.Net.HttpWebRequest.Method" /> property of the current instance is "GET" or "HEAD".</para>
</exception>
<exception cref="T:System.Net.WebException">
<para>
<see cref="M:System.Net.HttpWebRequest.Abort" /> was previously called.</para>
<para>-or-</para>
<para>An error occurred while processing the request.</para>
</exception>
<remarks>
<para>This method starts an asynchronous operation. To get the
request stream, call the <see cref="M:System.Net.HttpWebRequest.EndGetRequestStream(System.IAsyncResult)" /> method and specify the <see cref="T:System.IAsyncResult" /> object returned by
this method. <block subset="none" type="note"> The
<see cref="M:System.Net.HttpWebRequest.EndGetRequestStream(System.IAsyncResult)" /> method
should be called exactly once for each call to <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" />.</block></para>
<para>If the <paramref name="callback" /> parameter is not
<see langword="null" />, the method(s) referenced by <paramref name="callback" /> are invoked
when the asynchronous operation completes. The <see cref="T:System.IAsyncResult" /> object
returned by this method is passed as the argument to the method(s) referenced by
<paramref name="callback" />
.</para>
<para>The <paramref name="state" /> parameter can be any object that the
caller wishes to have available for the duration of the asynchronous operation.
This object is available via the <see cref="P:System.IAsyncResult.AsyncState" />
property of the
object returned by this method.</para>
<para>The value of the <see cref="P:System.Net.HttpWebRequest.ContentLength" /> property of the current instance is
required to be set prior to calling this method. </para>
<block subset="none" type="note">
<para> The method(s) invoked by
the callback delegate can call the <see cref="M:System.Net.HttpWebRequest.EndGetRequestStream(System.IAsyncResult)" /> method to retrieve the stream.</para>
<para>This method is the asynchronous version of
the <see cref="M:System.Net.HttpWebRequest.GetRequestStream" /> method.</para>
<para>This method overrides <see cref="M:System.Net.WebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" qualify="true" /> .</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="EndGetResponse">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Net.WebResponse EndGetResponse(class System.IAsyncResult asyncResult)" />
<MemberSignature Language="C#" Value="public override WebResponse EndGetResponse(IAsyncResult asyncResult);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Net.WebResponse</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="asyncResult" Type="System.IAsyncResult" />
</Parameters>
<Docs>
<summary>
<para>Returns a <see cref="T:System.Net.WebResponse" /> that contains a response to the specified pending
Internet request.</para>
</summary>
<param name="asyncResult">The <see cref="T:System.IAsyncResult" /> object that hold the state information for the asynchronous operation. </param>
<returns>
<para>A <see cref="T:System.Net.WebResponse" /> that contains a response to the Internet request
referenced by <paramref name="asyncResult" /> .</para>
</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="asyncResult " />is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="asyncResult" /> was not returned by the current instance from a call to <see cref="M:System.Net.WebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" />.</exception>
<exception cref="T:System.InvalidOperationException">
<para> This method was called previously using <paramref name="asyncResult." /></para>
<para>-or-</para>
<para>The <see cref="P:System.Net.HttpWebRequest.ContentLength" /> property of the current instance is greater than 0 but the data has not been written to the request stream.</para>
</exception>
<exception cref="T:System.Net.WebException">
<para>
<see cref="M:System.Net.HttpWebRequest.Abort" /> was previously called.</para>
<para>-or-</para>
<para>An error occurred while processing the request.</para>
</exception>
<remarks>
<block subset="none" type="note">
<para>This method completes an asynchronous request for
an Internet resource that was started by calling <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" />.</para>
<para>This method overrides <see cref="M:System.Net.WebRequest.EndGetResponse(System.IAsyncResult)" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="BeginGetResponse">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.IAsyncResult BeginGetResponse(class System.AsyncCallback callback, object state)" />
<MemberSignature Language="C#" Value="public override IAsyncResult BeginGetResponse(AsyncCallback callback, object state);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.IAsyncResult</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="callback" Type="System.AsyncCallback" />
<Parameter Name="state" Type="System.Object" />
</Parameters>
<Docs>
<summary>
<para> Begins sending the current HTTP request
asynchronously.</para>
</summary>
<param name="callback">A <see cref="T:System.AsyncCallback" /> delegate to be called when the stream is available. Can be <see langword="null" /> .</param>
<param name="state">A <see cref="T:System.Object" /> containing state information for the asynchronous request. Can be <see langword="null" /> .</param>
<returns>
<para>A <see cref="T:System.IAsyncResult" /> that contains information about the asynchronous
operation.</para>
</returns>
<exception cref="T:System.InvalidOperationException">
<see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" /> or <see cref="M:System.Net.HttpWebRequest.GetResponse" /> was previously called on this instance.</exception>
<exception cref="T:System.Net.ProtocolViolationException">The <see cref="P:System.Net.HttpWebRequest.ContentLength" /> property of the current instance has not been set.</exception>
<exception cref="T:System.Net.WebException">
<see cref="M:System.Net.HttpWebRequest.Abort" /> was previously called.</exception>
<remarks>
<para> This method starts an asynchronous operation. To get
the response, call the <see cref="M:System.Net.HttpWebRequest.EndGetResponse(System.IAsyncResult)" /> method and
specify the <see cref="T:System.IAsyncResult" /> object returned by
this method. <block subset="none" type="note"> The <see cref="M:System.Net.HttpWebRequest.EndGetResponse(System.IAsyncResult)" /> method
should be called exactly once for each call to <see cref="M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" />.</block></para>
<para>If the <paramref name="callback" /> parameter is not
<see langword="null" />, the method referenced by <paramref name="callback" /> is invoked
when the asynchronous operation completes. The <see cref="T:System.IAsyncResult" /> object
returned by this method is passed as the argument to the method referenced by
<paramref name="callback" />.</para>
<para>The <paramref name="state" /> parameter can be any object that the
caller wishes to have available for the duration of the asynchronous operation.
This object is available via the <see cref="P:System.IAsyncResult.AsyncState" />
property of the object returned by this method.</para>
<block subset="none" type="note">
<para>The method(s) invoked by the callback delegate can call the <see cref="M:System.Net.HttpWebRequest.EndGetResponse(System.IAsyncResult)" /> method to retrieve the response.</para>
<para>This method is the asynchronous version of the <see cref="M:System.Net.HttpWebRequest.GetResponse" /> method.</para>
<para>This method overrides <see cref="M:System.Net.WebRequest.BeginGetResponse(System.AsyncCallback,System.Object)" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="GetResponse">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.Net.WebResponse GetResponse()" />
<MemberSignature Language="C#" Value="public override WebResponse GetResponse();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Net.WebResponse</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Returns a response to an Internet request.</para>
</summary>
<returns>
<para>A <see cref="T:System.Net.WebResponse" /> containing the response from the Internet resource requested by the current
instance.</para>
</returns>
<exception cref="T:System.Net.ProtocolViolationException">The <see cref="P:System.Net.HttpWebRequest.ContentLength" /> property of the current instance is not set. </exception>
<exception cref="T:System.Net.WebException">
<para>
<see cref="M:System.Net.HttpWebRequest.Abort" /> was previously called.</para>
<para>-or-</para>
<para>The timeout period for the request expired.</para>
<para>-or-</para>
<para>An error occurred while processing the request.</para>
</exception>
<remarks>
<block subset="none" type="note">
<para>This method returns a <see cref="T:System.Net.WebResponse" /> instance containing the response from the Internet resource requested
by the current instance. The actual instance returned is an instance of
<see cref="T:System.Net.HttpWebResponse" /> , and can be typecast to that class to access
HTTP-specific properties.</para>
<para>This method overrides <see cref="M:System.Net.WebRequest.GetResponse" qualify="true" />
.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="GetRequestStream">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.IO.Stream GetRequestStream()" />
<MemberSignature Language="C#" Value="public override Stream GetRequestStream();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.IO.Stream</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Returns a <see cref="T:System.IO.Stream" /> for writing data to the Internet resource requested by the current instance.</para>
</summary>
<returns>
<para>A <see cref="T:System.IO.Stream" /> for writing
data to an Internet resource requested by the current instance.</para>
</returns>
<exception cref="T:System.Net.ProtocolViolationException">
<para>The <see cref="P:System.Net.HttpWebRequest.Method" /> property of the current instance is "GET" or "HEAD". </para>
<para> -or- </para>
<para>The <see cref="P:System.Net.HttpWebRequest.ContentLength" /> property of the current instance is not set. </para>
</exception>
<exception cref="T:System.InvalidOperationException">
<para>The <see cref="M:System.Net.HttpWebRequest.GetRequestStream" /> method was called more than once.</para>
<para>-or-</para>
<para>No writeable stream is available.</para>
</exception>
<exception cref="T:System.Net.WebException">
<para>
<see cref="M:System.Net.HttpWebRequest.Abort" /> was previously called.</para>
<para>-or-</para>
<para>The timeout period for the request expired.</para>
<para>-or-</para>
<para>An error occurred while processing the request.</para>
</exception>
<remarks>
<para> The value of the
<see cref="P:System.Net.HttpWebRequest.ContentLength" /> property is required to be set before writing data to the
stream.
</para>
<block subset="none" type="note">
<para>This method returns a stream to use to
send data for the <see cref="T:System.Net.HttpWebRequest" />. Once the <see cref="T:System.IO.Stream" /> instance has been returned,
data can be sent with the <see cref="T:System.Net.HttpWebRequest" /> by using the <see cref="M:System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32)" qualify="true" /> method. </para>
<para> Call the <see cref="M:System.IO.Stream.Close" qualify="true" /> method to close the stream and release
the connection
for reuse. Failure to close the stream may cause the application to run out of
connections.
</para>
<para>This method overrides <see cref="M:System.Net.WebRequest.GetRequestStream" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 GetHashCode()" />
<MemberSignature Language="C#" Value="public override int GetHashCode();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Generates a hash code for the current instance.</para>
</summary>
<returns>
<para>A <see cref="T:System.Int32" /> containing the hash code for the current instance.</para>
</returns>
<remarks>
<para>The algorithm used to
generate the hash code is unspecified.</para>
<para>
<block subset="none" type="note">This method overrides <see cref="M:System.Object.GetHashCode" qualify="true" />.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="AddRange">
<MemberSignature Language="ILASM" Value=".method public hidebysig instance void AddRange(int32 from, int32 to)" />
<MemberSignature Language="C#" Value="public void AddRange(int from, int to);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="from" Type="System.Int32" />
<Parameter Name="to" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para>Adds a HTTP Range header to the current instance for a specified range.</para>
</summary>
<param name="from">A <see cref="T:System.Int32" /> indicating the starting byte position of the entity-body data to be returned.</param>
<param name=" to">A <see cref="T:System.Int32" /> indicating the last byte.</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="from " /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="to " /> < 0.</para>
<para>-or-</para>
<para>
<paramref name="from " /> > <paramref name="to " />.</para>
</exception>
<exception cref="T:System.InvalidOperationException">The range header could not be added.</exception>
<remarks>
<para>This method is equivalent to <see cref="M:System.Net.HttpWebRequest.AddRange(System.Int32,System.Int32)" />("bytes", <paramref name="from" />, <paramref name="to" />).</para>
<block subset="none" type="note">
<para>The HTTP Range header specifies either a single range of bytes or a set
of byte ranges in an entity-body to be returned. If the server accessed by
the current instance supports the use of this header, this allows for the
partial retrieval of the entity due to, for example, the entity being
particularly large or there having been a failed transfer of data.</para>
<para>For more information on the HTTP Range header, see Section 14.35 of RFC
2616.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="AddRange">
<MemberSignature Language="ILASM" Value=".method public hidebysig instance void AddRange(int32 range)" />
<MemberSignature Language="C#" Value="public void AddRange(int range);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="range" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para>Adds a HTTP Range header to the current instance for
a specific range from the beginning or end of the requested data.</para>
</summary>
<param name="range">A <see cref="T:System.Int32" /> that specifies the starting or ending point of the range. If this value is positive, the range is from the beginning of the data to <paramref name="range" />. If this value is negative, the range is from <paramref name="range" /> to the end of the data.</param>
<exception cref="T:System.InvalidOperationException">The range header could not be added.</exception>
<remarks>
<para>This method is equivalent to <see cref="M:System.Net.HttpWebRequest.AddRange(System.Int32,System.Int32)" />("bytes", <paramref name="range" />).</para>
<block subset="none" type="note">
<para>The HTTP Range header specifies either a single range of bytes or a set of
byte ranges in an entity-body to be returned. If the server accessed by the
current instance supports the use of this header, this allows for the partial
retrieval of the entity due to, for example, the entity being particularly
large or there having been a failed transfer of data.</para>
<para>For more information on the HTTP Range header, see Section 14.35 of RFC
2616.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="AddRange">
<MemberSignature Language="ILASM" Value=".method public hidebysig instance void AddRange(string rangeSpecifier, int32 from, int32 to)" />
<MemberSignature Language="C#" Value="public void AddRange(string rangeSpecifier, int from, int to);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="rangeSpecifier" Type="System.String" />
<Parameter Name="from" Type="System.Int32" />
<Parameter Name="to" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para>Adds a HTTP Range header to the current instance for
a specified range.</para>
</summary>
<param name="rangeSpecifier">A <see cref="T:System.String" /> that contains the description of the range.</param>
<param name=" from">A <see cref="T:System.Int32" /> designating the position at which to start sending data.</param>
<param name=" to">A <see cref="T:System.Int32" /> designating the position at which to stop sending data. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="rangeSpecifier " />is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>
<paramref name="from " />< 0.</para>
<para>-or-</para>
<para>
<paramref name="to " />< 0.</para>
<para>-or-</para>
<para>
<paramref name="from " />> <paramref name="to " />.</para>
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="rangeSpecifier" /> is invalid.</exception>
<exception cref="T:System.InvalidOperationException">The range header could not be added.</exception>
<remarks>
<block subset="none" type="note">
<para>The HTTP Range header specifies either a single range of bytes or a set of
byte ranges in an entity-body to be returned. If the server accessed by the
current instance supports the use of this header, this allows for the partial
retrieval of the entity due to, for example, the entity being particularly
large or there having been a failed transfer of data.</para>
<para>For more information on the HTTP Range header, see Section 14.35 of IETF RFC
2616.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="AddRange">
<MemberSignature Language="ILASM" Value=".method public hidebysig instance void AddRange(string rangeSpecifier, int32 range)" />
<MemberSignature Language="C#" Value="public void AddRange(string rangeSpecifier, int range);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="rangeSpecifier" Type="System.String" />
<Parameter Name="range" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para> Adds a HTTP Range header to the current request for a specific range from the
beginning or end of the requested data.</para>
</summary>
<param name="rangeSpecifier">A <see cref="T:System.String" /> that contains the description of the range.</param>
<param name="range">A <see cref="T:System.Int32" /> that designates the starting or ending point of the range. If this value is positive, the range is from the beginning of the data to <paramref name="range" />. If this value is negative, the range is from <paramref name="range" /> to the end of the data. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="rangeSpecifier " />is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="rangeSpecifier" /> is invalid.</exception>
<exception cref="T:System.InvalidOperationException">The range header could not be added.</exception>
<remarks>
<block subset="none" type="note">
<para>The HTTP Range header specifies either a single range of bytes or a set of
byte ranges in an entity-body to be returned. If the server accessed by the
current instance supports the use of this header, this allows for the partial
retrieval of the entity due to, for example, the entity being particularly
large or there having been a failed transfer of data.</para>
<para>For more information on the HTTP Range header, see Section 14.35 of RFC
2616.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="RequestUri">
<MemberSignature Language="ILASM" Value=".property class System.Uri RequestUri { public hidebysig virtual specialname class System.Uri get_RequestUri() }" />
<MemberSignature Language="C#" Value="public override Uri RequestUri { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Uri</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets the <see cref="T:System.Uri" /> of the resource that receives requests sent by the current instance.</para>
</summary>
<value>
<para>The <see cref="T:System.Uri" /> of the resource that receives requests sent by the
current instance.</para>
</value>
<remarks>
<para>This property is read-only.</para>
<para>This property is the <see cref="T:System.Uri" /> instance passed to the current instance via the <see cref="M:System.Net.WebRequest.Create(System.Uri,System.Boolean)" qualify="true" /> method. </para>
<block subset="none" type="note">
<para>Following a redirection header does not change the <see cref="P:System.Net.HttpWebRequest.RequestUri" /> property.
The URI of the resource
that actually responded to the current instance is contained by <see cref="P:System.Net.HttpWebRequest.Address" /> property of the current
instance.</para>
<para>This property overrides <see cref="P:System.Net.WebRequest.RequestUri" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="AllowWriteStreamBuffering">
<MemberSignature Language="ILASM" Value=".property bool AllowWriteStreamBuffering { public hidebysig specialname instance bool get_AllowWriteStreamBuffering() public hidebysig specialname instance void set_AllowWriteStreamBuffering(bool value) }" />
<MemberSignature Language="C#" Value="public bool AllowWriteStreamBuffering { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets a <see cref="T:System.Boolean" /> value that indicates whether to buffer the data sent to the Internet resource requested by the
current instance.</para>
</summary>
<value>
<para>
<see langword="true " />to enable
buffering of the data sent
to the Internet resource requested by the current instance; <see langword="false " />to disable buffering. The default is
<see langword="true" />.</para>
</value>
<remarks>
<block subset="none" type="note">
<para>When <see cref="P:System.Net.HttpWebRequest.AllowWriteStreamBuffering" /> is <see langword="true" />
, the data is buffered in memory so it is ready to be resent in the
event of redirections or authentication requests.</para>
<para> Depending on available memory, setting <see cref="P:System.Net.HttpWebRequest.AllowWriteStreamBuffering" />
as <see langword="true" />
might
impact system performance when uploading large amounts of data.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="ContentLength">
<MemberSignature Language="ILASM" Value=".property int64 ContentLength { public hidebysig virtual specialname int64 get_ContentLength() public hidebysig virtual specialname void set_ContentLength(int64 value) }" />
<MemberSignature Language="C#" Value="public override long ContentLength { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int64</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets or sets the Content-length HTTP header.</para>
</summary>
<value>
<para>A <see cref="T:System.Int64" /> value that specifies the number of bytes of data to send to the Internet resource. The default is -1,
which indicates that this value has not been set.</para>
</value>
<exception cref="T:System.InvalidOperationException">Data has already been written to the request stream.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">A value less than zero is specified for a set operation.</exception>
<remarks>
<para>The <see cref="P:System.Net.HttpWebRequest.ContentLength" /> property contains the value to send
as the Content-length
HTTP header of the request.</para>
<para>Any value other than -1 in the <see cref="P:System.Net.HttpWebRequest.ContentLength" />
property indicates that the request will upload data;
only methods that upload data are allowed in the <see cref="P:System.Net.HttpWebRequest.Method" />
property.</para>
<para>This property is required to be set prior to writing data to the request data
stream. Once the <see cref="P:System.Net.HttpWebRequest.ContentLength" /> property is set to a value, that
number of bytes is required to be written to the request data stream.
<block subset="none" type="note">Get the request data stream by calling <see cref="M:System.Net.HttpWebRequest.GetRequestStream" /> , or <see cref="M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object)" /> and <see cref="M:System.Net.HttpWebRequest.EndGetRequestStream(System.IAsyncResult)" />
.</block></para>
<block subset="none" type="note">
<para>For additional information see section 14.13 of IETF RFC
2068 - HTTP/1.1.</para>
<para>This property overrides <see cref="P:System.Net.WebRequest.ContentLength" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Timeout">
<MemberSignature Language="ILASM" Value=".property int32 Timeout { public hidebysig virtual specialname int32 get_Timeout() public hidebysig virtual specialname void set_Timeout(int32 value) }" />
<MemberSignature Language="C#" Value="public override int Timeout { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the length of time before the request times out.</para>
</summary>
<value>
<para>A <see cref="T:System.Int32" /> indicating the number of milliseconds to wait for a response until the request times out,
or <see cref="F:System.Threading.Timeout.Infinite" qualify="true" /> to indicate that the request does not
time out.</para>
</value>
<exception cref="T:System.ArgumentOutOfRangeException">
<para>A value less than zero and not equal to <see cref="F:System.Threading.Timeout.Infinite" qualify="true" /> is specified for a set operation.</para>
</exception>
<remarks>
<para>
<see cref="P:System.Net.HttpWebRequest.Timeout" /> is the number of milliseconds that a
synchronous request made with the <see cref="M:System.Net.HttpWebRequest.GetResponse" /> method waits for a response. If a resource does
not respond within the time-out period, the request throws a <see cref="T:System.Net.WebException" /> with
the <see cref="P:System.Net.WebException.Status" /> property set to <see cref="F:System.Net.WebExceptionStatus.Timeout" qualify="true" />.</para>
<para>It defaults to 100000 ms.</para>
<para>
<block subset="none" type="note">This property overrides <see cref="P:System.Net.WebRequest.Timeout" qualify="true" />.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Address">
<MemberSignature Language="ILASM" Value=".property class System.Uri Address { public hidebysig specialname instance class System.Uri get_Address() }" />
<MemberSignature Language="C#" Value="public Uri Address { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Uri</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets the URI that responds to the current request.</para>
</summary>
<value>
<para>A <see cref="T:System.Uri" />
identifying the Internet resource that responds to the current request.
The default is the URI used by the <see cref="M:System.Net.WebRequest.Create(System.Uri,System.Boolean)" qualify="true" />
method to initialize
the current
instance. </para>
</value>
<remarks>
<para> This property is
read-only.</para>
<para> The
value of this property is set to the URI that is the source of
the response after all redirections are complete.</para>
<para>
<block subset="none" type="note">The URI of the original request is kept in the <see cref="P:System.Net.HttpWebRequest.RequestUri" /> property.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="ContinueDelegate">
<MemberSignature Language="ILASM" Value=".property class System.Net.HttpContinueDelegate ContinueDelegate { public hidebysig specialname instance class System.Net.HttpContinueDelegate get_ContinueDelegate() public hidebysig specialname instance void set_ContinueDelegate(class System.Net.HttpContinueDelegate value) }" />
<MemberSignature Language="C#" Value="public HttpContinueDelegate ContinueDelegate { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Net.HttpContinueDelegate</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets or sets the delegate method whose methods are invoked when an HTTP 100-continue response is received
by the current instance.</para>
</summary>
<value>
<para> A <see cref="T:System.Net.HttpContinueDelegate" />
that references the methods that are invoked when an HTTP Continue response is
received. The default value is <see langword="null" />
.</para>
</value>
<remarks>
<block subset="none" type="note">
<para>
This delegate is useful to display the status of responses received by the current
instance.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="ServicePoint">
<MemberSignature Language="ILASM" Value=".property class System.Net.ServicePoint ServicePoint { public hidebysig specialname instance class System.Net.ServicePoint get_ServicePoint() }" />
<MemberSignature Language="C#" Value="public ServicePoint ServicePoint { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Net.ServicePoint</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets the service point to use for the current instance.</para>
</summary>
<value>
<para>A <see cref="T:System.Net.ServicePoint" />
that represents the network connection to the
destination. The value of this property is <see langword="null" /> until the <see cref="M:System.Net.HttpWebRequest.GetResponse" /> method is called.</para>
</value>
<remarks>
<para>This property is read-only.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="AllowAutoRedirect">
<MemberSignature Language="ILASM" Value=".property bool AllowAutoRedirect { public hidebysig specialname instance bool get_AllowAutoRedirect() public hidebysig specialname instance void set_AllowAutoRedirect(bool value) }" />
<MemberSignature Language="C#" Value="public bool AllowAutoRedirect { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets a <see cref="T:System.Boolean" /> value that indicates whether the current request will follow redirection responses.</para>
</summary>
<value>
<para>
<see langword="true " />if the current request will automatically follow redirection
responses from the Internet resource; otherwise <see langword="false " />
. The default value is
<see langword="true" />.</para>
</value>
<remarks>
<block subset="none" type="note">
<para>Set <see cref="P:System.Net.HttpWebRequest.AllowAutoRedirect" /> to <see langword="true" /> to allow the current request to
automatically follow HTTP redirection headers to the new location of a
resource.</para>
<para> The maximum number
of redirections to follow is set by the <see cref="P:System.Net.HttpWebRequest.MaximumAutomaticRedirections" />
property.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="MaximumAutomaticRedirections">
<MemberSignature Language="ILASM" Value=".property int32 MaximumAutomaticRedirections { public hidebysig specialname instance int32 get_MaximumAutomaticRedirections() public hidebysig specialname instance void set_MaximumAutomaticRedirections(int32 value) }" />
<MemberSignature Language="C#" Value="public int MaximumAutomaticRedirections { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the maximum number of redirects that the current instance will follow.</para>
</summary>
<value>
<para>A <see cref="T:System.Int32" /> value that
indicates the maximum number of redirection responses that the current instance will follow. The
default value is implementation-defined.</para>
</value>
<exception cref="T:System.ArgumentException">The value specified for a set operation is less than or equal to zero.</exception>
<remarks>
<para>
<block subset="none" type="note">This
property sets the maximum number of
redirections for the request to follow if the <see cref="P:System.Net.HttpWebRequest.AllowAutoRedirect" /> property
is <see langword="true" />.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Method">
<MemberSignature Language="ILASM" Value=".property string Method { public hidebysig virtual specialname string get_Method() public hidebysig virtual specialname void set_Method(string value) }" />
<MemberSignature Language="C#" Value="public override string Method { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets or sets the HTTP protocol request method used by the current instance.</para>
</summary>
<value>
<para>A <see cref="T:System.String" /> containing an HTTP method. The default value
is "GET".</para>
</value>
<exception cref="T:System.ArgumentException">
<see langword="null" />, <see cref="F:System.String.Empty" />, or an invalid value was specified for a set operation.</exception>
<remarks>
<para>If the <see cref="P:System.Net.HttpWebRequest.ContentLength" /> property is set to any value other
than -1, the <see cref="P:System.Net.HttpWebRequest.Method" /> property
is
required to be set to a protocol method that sends request data.</para>
<para>The <see cref="P:System.Net.HttpWebRequest.Method" />
property
can be set to any of the following HTTP 1.1
protocol methods:</para>
<list type="table">
<listheader>
<term>HTTP Method</term>
<description>Description</description>
</listheader>
<item>
<term> GET</term>
<description>Retrieves in entity-body form the
information identified by the <see cref="P:System.Net.HttpWebRequest.RequestUri" /> property of the current
instance.</description>
</item>
<item>
<term> HEAD</term>
<description>Identical to GET except that the message-body is not
returned in the response.</description>
</item>
<item>
<term> POST</term>
<description> Requests that the origin server accept the entity
enclosed in the request as a new subordinate of the resource identified the
Request-URI in the Request-Line.</description>
</item>
<item>
<term> PUT</term>
<description>Requests that the enclosed entity be stored
under the supplied Request-URI.</description>
</item>
<item>
<term> DELETE</term>
<description>Requests that the origin server delete the resource
identified by the Request-URI.</description>
</item>
<item>
<term> TRACE</term>
<description>Invokes a remote, application-layer loopback of the
request message.</description>
</item>
<item>
<term> OPTIONS</term>
<description>Requests information about the communication
options available on the request/response chain identified by the
Request-URI. <block subset="none" type="note">This allows the
client to determine the options and/or requirements associated with a
resource, or the capabilities of a server, without implying a resource
action or initiating a resource
retrieval.</block></description>
</item>
</list>
<block subset="none" type="note">
<para>For detailed information regarding these methods, see
sections 9.2 to 9.8 of RFC 2616.</para>
<para>This property overrides <see cref="P:System.Net.WebRequest.Method" qualify="true" />
.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="KeepAlive">
<MemberSignature Language="ILASM" Value=".property bool KeepAlive { public hidebysig specialname instance bool get_KeepAlive() public hidebysig specialname instance void set_KeepAlive(bool value) }" />
<MemberSignature Language="C#" Value="public bool KeepAlive { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets a <see cref="T:System.Boolean" /> value indicating whether to make a persistent connection to the server hosting the Internet resource requested by the current instance.</para>
</summary>
<value>
<para>
<see langword="true " />indicates
that the current request will contain an HTTP Connection header with the value
"Keep-alive"
; otherwise, <see langword="false" />. The default
value is <see langword="true" />.</para>
</value>
<remarks>
<para>
<block subset="none" type="note">An application uses <see cref="P:System.Net.HttpWebRequest.KeepAlive" />
to indicate a preference for persistent connections. When this property is <see langword="true" /> , the application makes persistent connections to
the servers that support them.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Pipelined">
<MemberSignature Language="ILASM" Value=".property bool Pipelined { public hidebysig specialname instance bool get_Pipelined() public hidebysig specialname instance void set_Pipelined(bool value) }" />
<MemberSignature Language="C#" Value="public bool Pipelined { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets a <see cref="T:System.Boolean" /> value indicating whether to pipeline the current request to the Internet resource.</para>
</summary>
<value>
<para>
<see langword="true " />if the current request can be pipelined; otherwise,
<see langword="false" />. The default is <see langword="true" />.</para>
</value>
<remarks>
<para>An application uses this property to indicate a preference for pipelined connections. If <see cref="P:System.Net.HttpWebRequest.Pipelined" /> is <see langword="true" /> , an application makes pipelined connections to servers that support them.</para>
<para>
<block subset="none" type="note">Pipelined connections are made only when the <see cref="P:System.Net.HttpWebRequest.KeepAlive" />
property is <see langword="true" /> .</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Credentials">
<MemberSignature Language="ILASM" Value=".property class System.Net.ICredentials Credentials { public hidebysig virtual specialname class System.Net.ICredentials get_Credentials() public hidebysig virtual specialname void set_Credentials(class System.Net.ICredentials value) }" />
<MemberSignature Language="C#" Value="public override ICredentials Credentials { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Net.ICredentials</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets or sets the credentials used for authenticating
the current request.</para>
</summary>
<value>
<para> A <see cref="T:System.Net.ICredentials" /> object containing
the authentication credentials associated with
the current instance. The default is
<see langword="null" />.</para>
</value>
<remarks>
<block subset="none" type="note">
<para>The <see cref="P:System.Net.HttpWebRequest.Credentials" /> property contains
authentication information to identify the client making the request. The <see cref="P:System.Net.HttpWebRequest.Credentials" /> property can be either an instance
of <see cref="T:System.Net.NetworkCredential" />, in which case the user, password, and domain
information contained in the <see cref="T:System.Net.NetworkCredential" /> instance is used to authenticate
the request, or it can be an instance of <see cref="T:System.Net.CredentialCache" />, in which case the uniform resource
identifier (URI) of the request is used to determine the user, password, and
domain information to use to authenticate the request.</para>
<para>This property overrides <see cref="P:System.Net.WebRequest.Credentials" qualify="true" />
.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="PreAuthenticate">
<MemberSignature Language="ILASM" Value=".property bool PreAuthenticate { public hidebysig virtual specialname bool get_PreAuthenticate() public hidebysig virtual specialname void set_PreAuthenticate(bool value) }" />
<MemberSignature Language="C#" Value="public override bool PreAuthenticate { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets a Boolean value that indicates whether to send HTTP
preauthentication header information with current instance without waiting for
an authentication challenge from the requested resource.</para>
</summary>
<value>
<para>
<see langword="true " />to send a HTTP
WWW-authenticate header with the current
instance without waiting for an authentication challenge from the requested
resource; otherwise, <see langword="false" />. The default is
<see langword="false" />.</para>
</value>
<remarks>
<para>When <see cref="P:System.Net.HttpWebRequest.PreAuthenticate" /> is <see langword="true" /> and credentials are supplied, the HTTP WWW-authenticate header is sent with the current
instance without waiting for an authentication
challenge from the requested resource; otherwise the request uses standard authentication procedures.</para>
<block subset="none" type="note">
<para>Set this property to <see langword="true " />to allow
clients to improve server efficiency by avoiding extra round trips caused by
authentication challenges.</para>
<para>This property overrides <see cref="P:System.Net.WebRequest.PreAuthenticate" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="ConnectionGroupName">
<MemberSignature Language="ILASM" Value=".property string ConnectionGroupName { public hidebysig virtual specialname string get_ConnectionGroupName() public hidebysig virtual specialname void set_ConnectionGroupName(string value) }" />
<MemberSignature Language="C#" Value="public override string ConnectionGroupName { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the name of the connection group for the current instance.</para>
</summary>
<value>
<para>A <see cref="T:System.String" /> that contains the name of the connection group for the current instance. The default value is
<see langword="null" />.</para>
</value>
<remarks>
<block subset="none" type="note">
<para>The <see cref="P:System.Net.HttpWebRequest.ConnectionGroupName" /> property
enables a request to be associated with a connection group. This is useful when
an application makes requests to one server for different users, such as a Web
site that retrieves customer information from a database server.</para>
<para> Each
connection group creates additional connections for a server. This may
result in exceeding <see cref="P:System.Net.ServicePoint.ConnectionLimit" qualify="true" /> for that server.</para>
<para>This property overrides <see cref="P:System.Net.WebRequest.ConnectionGroupName" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Headers">
<MemberSignature Language="ILASM" Value=".property class System.Net.WebHeaderCollection Headers { public hidebysig virtual specialname class System.Net.WebHeaderCollection get_Headers() public hidebysig virtual specialname void set_Headers(class System.Net.WebHeaderCollection value) }" />
<MemberSignature Language="C#" Value="public override WebHeaderCollection Headers { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Net.WebHeaderCollection</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the collection of HTTP header name/value pairs associated with the
current instance.</para>
</summary>
<value>
<para>A <see cref="T:System.Net.WebHeaderCollection" /> containing the name/value pairs of the headers for
the current instance.</para>
</value>
<exception cref="T:System.InvalidOperationException">A set operation was requested but data has already been written to the request data stream.</exception>
<remarks>
<para>
The following table
lists the HTTP headers that cannot be set using the collection
returned by this property.</para>
<list type="table">
<listheader>
<term>Header</term>
<description>Set by</description>
</listheader>
<item>
<term> Accept</term>
<description>
<see cref="P:System.Net.HttpWebRequest.Accept" />
.</description>
</item>
<item>
<term> Connection</term>
<description>
<para>
<see cref="P:System.Net.HttpWebRequest.Connection" />
.</para>
<para>
<see cref="P:System.Net.HttpWebRequest.KeepAlive" />.</para>
</description>
</item>
<item>
<term> Content-Length</term>
<description>
<see cref="P:System.Net.HttpWebRequest.ContentLength" />.</description>
</item>
<item>
<term> Content-Type</term>
<description>
<see cref="P:System.Net.HttpWebRequest.ContentType" />.</description>
</item>
<item>
<term> Expect</term>
<description>
<see cref="P:System.Net.HttpWebRequest.Expect" />.</description>
</item>
<item>
<term> Date</term>
<description>Set
by the system to the current date.</description>
</item>
<item>
<term> Host</term>
<description>Set
by the system to the current host information.</description>
</item>
<item>
<term> Range</term>
<description>
<see cref="M:System.Net.HttpWebRequest.AddRange(System.Int32,System.Int32)" />
.</description>
</item>
<item>
<term> Referer</term>
<description>
<see cref="P:System.Net.HttpWebRequest.Referer" />.</description>
</item>
<item>
<term> Transfer-Encoding</term>
<description>
<para>
<see cref="P:System.Net.HttpWebRequest.TransferEncoding" />. <see langword="" /></para>
<para>
<see cref="P:System.Net.HttpWebRequest.SendChunked" />.</para>
</description>
</item>
<item>
<term> User-Agent</term>
<description>
<see cref="P:System.Net.HttpWebRequest.UserAgent" />.</description>
</item>
</list>
<para>
<block subset="none" type="note">This property overrides <see cref="P:System.Net.WebRequest.Headers" qualify="true" />.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Proxy">
<MemberSignature Language="ILASM" Value=".property class System.Net.IWebProxy Proxy { public hidebysig virtual specialname class System.Net.IWebProxy get_Proxy() public hidebysig virtual specialname void set_Proxy(class System.Net.IWebProxy value) }" />
<MemberSignature Language="C#" Value="public override IWebProxy Proxy { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Net.IWebProxy</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets or sets network proxy information for the current instance.</para>
</summary>
<value>
<para>The <see cref="T:System.Net.WebProxy" /> instance to
use as a
proxy for the current instance. The default value is set by calling <see cref="P:System.Net.GlobalProxySelection.Select" qualify="true" /> . </para>
</value>
<exception cref="T:System.ArgumentNullException">A set operation was requested and the specified value was <see langword="null" />.</exception>
<exception cref="T:System.InvalidOperationException">A set operation was requested but data has already been sent to the request stream.</exception>
<exception cref="T:System.Security.SecurityException">The caller does not have permission for the requested operation.</exception>
<remarks>
<para>The <see cref="P:System.Net.HttpWebRequest.Proxy" />
property identifies the <see cref="T:System.Net.WebProxy" /> instance to use
to communicate with the destination server.</para>
<block subset="none" type="note">
<para> To specify that no proxy should be used, set the <see cref="P:System.Net.HttpWebRequest.Proxy" />
property to the proxy instance returned by the <see cref="M:System.Net.GlobalProxySelection.GetEmptyWebProxy" qualify="true" /> method.</para>
<para>This property overrides <see cref="P:System.Net.WebRequest.Proxy" qualify="true" />.</para>
</block>
</remarks>
<permission cref="!:System.Security.Permissions.WebPermission">Requires unrestricted <see cref="T:System.Net.WebPermission" />. See <see cref="F:System.Security.Permissions.PermissionState.Unrestricted" />.</permission>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="SendChunked">
<MemberSignature Language="ILASM" Value=".property bool SendChunked { public hidebysig specialname instance bool get_SendChunked() public hidebysig specialname instance void set_SendChunked(bool value) }" />
<MemberSignature Language="C#" Value="public bool SendChunked { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets or sets a value indicating whether to send data in segments.</para>
</summary>
<value>
<para>
<see langword="true " />
to send data in segments; otherwise,
<see langword="false" />. The default value is <see langword="false" />.</para>
</value>
<exception cref="T:System.InvalidOperationException">A set operation was requested but data has already been written to the request data stream.</exception>
<remarks>
<para>When <see cref="P:System.Net.HttpWebRequest.SendChunked" /> is <see langword="true" /> , the request sends data to the destination in segments. The
destination server is required to support receiving chunked data.</para>
<para>
<block subset="none" type="note">Set this property
to <see langword="true" /> only if the server specified by the <see cref="P:System.Net.HttpWebRequest.Address" /> property of the current instance accepts chunked
data (i.e. is HTTP/1.1 or greater in compliance). If the server does not
accept chunked data, buffer all data to be written and send a HTTP Content-Length header with the
buffered data.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="ProtocolVersion">
<MemberSignature Language="ILASM" Value=".property class System.Version ProtocolVersion { public hidebysig specialname instance class System.Version get_ProtocolVersion() public hidebysig specialname instance void set_ProtocolVersion(class System.Version value) }" />
<MemberSignature Language="C#" Value="public Version ProtocolVersion { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Version</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the version of the
HTTP protocol to use for the current request.</para>
</summary>
<value>
<para> A <see cref="T:System.Version" /> that represents
the HTTP version to use for the request. The default is <see cref="F:System.Net.HttpVersion.Version11" qualify="true" />.</para>
</value>
<exception cref="T:System.ArgumentException">The HTTP version is set to a value other than 1.0 or 1.1.</exception>
<remarks>
<para>The <see cref="T:System.Net.HttpWebRequest" /> class supports only versions 1.0 and 1.1 of
HTTP. Setting <see cref="P:System.Net.HttpWebRequest.ProtocolVersion" /> to a
different version causes a <see cref="T:System.ArgumentException" /> exception to be thrown.</para>
<para>
<block subset="none" type="note">To set
the <see cref="P:System.Net.HttpWebRequest.ProtocolVersion" /> property of the current instance, specify one of the members of
the use the
<see cref="T:System.Net.HttpVersion" /> class. </block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="ContentType">
<MemberSignature Language="ILASM" Value=".property string ContentType { public hidebysig virtual specialname string get_ContentType() public hidebysig virtual specialname void set_ContentType(string value) }" />
<MemberSignature Language="C#" Value="public override string ContentType { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the value of the Content-type HTTP header of the current instance.</para>
</summary>
<value>
<para>The value of the Content-type HTTP header of the current instance. The default
value is <see langword="null" />
. </para>
</value>
<remarks>
<para>The <see cref="P:System.Net.HttpWebRequest.ContentType" /> property contains the media type
of the current instance. Values assigned to the <see cref="P:System.Net.HttpWebRequest.ContentType" /> property replace any existing
contents when the request sends the Content-type HTTP header. </para>
<block subset="none" type="note">
<para>To clear the Content-type HTTP header, set the <see cref="P:System.Net.HttpWebRequest.ContentType" /> property
to <see langword="null " />
.</para>
<para>For additional information see section 14.17 of IETF RFC
2068 - HTTP/1.1.</para>
<para>This property overrides <see cref="P:System.Net.WebRequest.ContentType" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="MediaType">
<MemberSignature Language="ILASM" Value=".property string MediaType { public hidebysig specialname instance string get_MediaType() public hidebysig specialname instance void set_MediaType(string value) }" />
<MemberSignature Language="C#" Value="public string MediaType { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets or sets the media type of the current request.</para>
</summary>
<value>
<para>A <see cref="T:System.String" /> that identifies the media type of the current request. The default value is
<see langword="null" />.</para>
</value>
<remarks>
<para>
<block subset="none" type="note">The value of this
property affects the <see cref="P:System.Net.HttpWebResponse.CharacterSet" /> property. When this property is set in
the current instance,
the corresponding media type is chosen from the list of character sets returned
in the response HTTP Content-type
header. </block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="TransferEncoding">
<MemberSignature Language="ILASM" Value=".property string TransferEncoding { public hidebysig specialname instance string get_TransferEncoding() public hidebysig specialname instance void set_TransferEncoding(string value) }" />
<MemberSignature Language="C#" Value="public string TransferEncoding { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the value of the HTTP
Transfer-encoding header.</para>
</summary>
<value>
<para>A <see cref="T:System.String" /> that contains the value of the
HTTP Transfer-encoding header.
The default value is <see langword="null" />.</para>
</value>
<exception cref="T:System.InvalidOperationException">
<see cref="P:System.Net.HttpWebRequest.TransferEncoding" /> is set when <see cref="P:System.Net.HttpWebRequest.SendChunked" /> is <see langword="false" />.</exception>
<exception cref="T:System.ArgumentException">
<see cref="P:System.Net.HttpWebRequest.TransferEncoding" /> is set to the value "Chunked". This value is case insensitive.</exception>
<remarks>
<para>This property can be set in the current instance only if
the <see cref="P:System.Net.HttpWebRequest.SendChunked" /> property in the current instance is
<see langword="true" />.</para>
<block subset="none" type="note">
<para> Clearing <see cref="P:System.Net.HttpWebRequest.TransferEncoding" /> by setting it to <see langword="null " />has no effect on
the value of <see cref="P:System.Net.HttpWebRequest.SendChunked" />.</para>
<para>Values assigned to the <see cref="P:System.Net.HttpWebRequest.TransferEncoding" /> property replace any
existing contents.</para>
<para>For additional information see section 14.41 of IETF RFC
2068 - HTTP/1.1.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Connection">
<MemberSignature Language="ILASM" Value=".property string Connection { public hidebysig specialname instance string get_Connection() public hidebysig specialname instance void set_Connection(string value) }" />
<MemberSignature Language="C#" Value="public string Connection { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the value of the Connection HTTP header.</para>
</summary>
<value>
<para> A <see cref="T:System.String" /> containing the
value of the Connection HTTP header. The
default value is <see langword="null" />. </para>
</value>
<exception cref="T:System.ArgumentException">The value of <see cref="P:System.Net.HttpWebRequest.Connection" /> is set to "Keep-alive" or "Close". This value is case insensitive.</exception>
<remarks>
<para>The current request sends the <see cref="P:System.Net.HttpWebRequest.Connection" /> property to the Internet resource as
the Connection
HTTP header. </para>
<block subset="none" type="note">
<para>If <see cref="P:System.Net.HttpWebRequest.KeepAlive" /> is
<see langword="true" /> , the value "Keep-alive" is appended to the
end of the Connection
header.</para>
<para>For additional
information see section 14.10 of IETF RFC 2068 - HTTP/1.1.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Accept">
<MemberSignature Language="ILASM" Value=".property string Accept { public hidebysig specialname instance string get_Accept() public hidebysig specialname instance void set_Accept(string value) }" />
<MemberSignature Language="C#" Value="public string Accept { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets a <see cref="T:System.String" /> containing the value of the HTTP Accept header.</para>
</summary>
<value>
<para> A <see cref="T:System.String" /> containing the value of the HTTP Accept header. The default value of this property is
<see langword="null" />.</para>
</value>
<remarks>
<para>
<block subset="none" type="note">For additional information see section
14.1 of IETF RFC 2068 - HTTP/1.1.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Referer">
<MemberSignature Language="ILASM" Value=".property string Referer { public hidebysig specialname instance string get_Referer() public hidebysig specialname instance void set_Referer(string value) }" />
<MemberSignature Language="C#" Value="public string Referer { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the value of the HTTP Referer header.</para>
</summary>
<value>
<para> A <see cref="T:System.String" /> containing the
value of the HTTP Referer header. The default value is
<see langword="null" />.</para>
</value>
<remarks>
<para>
<block subset="none" type="note">For additional
information see section 14.36 of IETF RFC 2068 - HTTP/1.1.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="UserAgent">
<MemberSignature Language="ILASM" Value=".property string UserAgent { public hidebysig specialname instance string get_UserAgent() public hidebysig specialname instance void set_UserAgent(string value) }" />
<MemberSignature Language="C#" Value="public string UserAgent { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the value of the HTTP
User-agent header.</para>
</summary>
<value>
<para>A <see cref="T:System.String" /> containing the value of the HTTP User-agent header. The default value is
<see langword="null" />.</para>
</value>
<remarks>
<para>
<block subset="none" type="note">For additional
information see section 14.43 of IETF RFC 2068 - HTTP/1.1.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Expect">
<MemberSignature Language="ILASM" Value=".property string Expect { public hidebysig specialname instance string get_Expect() public hidebysig specialname instance void set_Expect(string value) }" />
<MemberSignature Language="C#" Value="public string Expect { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the value of the HTTP Expect header.</para>
</summary>
<value>
<para> A <see cref="T:System.String" /> that contains the
contents of the HTTP Expect header. The default value is
<see langword="null" /> . </para>
</value>
<exception cref="T:System.ArgumentException">The value specified for a set operation is "100-continue". This value is case insensitive.</exception>
<remarks>
<block subset="none" type="note">
<para>By default, <see cref="P:System.Net.HttpWebRequest.Expect" /> is <see langword="null" /> . Other values can be added to the
list that <see cref="P:System.Net.HttpWebRequest.Expect" /> maintains, or all values except "100-continue" can be
deleted from the list by setting <see cref="P:System.Net.HttpWebRequest.Expect" /> to <see langword="null" /> .</para>
<para>For additional information see section 14.20 of IETF RFC
2068 - HTTP/1.1.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="IfModifiedSince">
<MemberSignature Language="ILASM" Value=".property valuetype System.DateTime IfModifiedSince { public hidebysig specialname instance valuetype System.DateTime get_IfModifiedSince() public hidebysig specialname instance void set_IfModifiedSince(valuetype System.DateTime value) }" />
<MemberSignature Language="C#" Value="public DateTime IfModifiedSince { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.DateTime</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the value of the HTTP If-Modified-Since
header.</para>
</summary>
<value>
<para>A <see cref="T:System.DateTime" /> that contains the
contents of the HTTP If-Modified-Since
header. The default value is the current
date and time of the system.</para>
</value>
<remarks>
<para>
<block subset="none" type="note">For additional
information see section 14.25 of IETF RFC 2068 - HTTP/1.1.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="HaveResponse">
<MemberSignature Language="ILASM" Value=".property bool HaveResponse { public hidebysig specialname instance bool get_HaveResponse() }" />
<MemberSignature Language="C#" Value="public bool HaveResponse { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets a <see cref="T:System.Boolean" /> value indicating whether a response has been received for the current
instance.
</para>
</summary>
<value>
<para>
<see langword="true" /> if a response has been received; otherwise
<see langword="false" />.</para>
</value>
<remarks>
<para>This property is read-only.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected HttpWebRequest(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext)" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="serializationInfo" Type="System.Runtime.Serialization.SerializationInfo" />
<Parameter Name="streamingContext" Type="System.Runtime.Serialization.StreamingContext" />
</Parameters>
<Docs>
<summary>To be added.</summary>
<param name="serializationInfo">To be added.</param>
<param name="streamingContext">To be added.</param>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ClientCertificates">
<MemberSignature Language="C#" Value="public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Security.Cryptography.X509Certificates.X509CertificateCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CookieContainer">
<MemberSignature Language="C#" Value="public System.Net.CookieContainer CookieContainer { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Net.CookieContainer</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UnsafeAuthenticatedConnectionSharing">
<MemberSignature Language="C#" Value="public bool UnsafeAuthenticatedConnectionSharing { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
</Type>
|