Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AddRange() [7/9]

void System.Net.HttpWebRequest.AddRange ( string rangeSpecifier,
long from,
long to )
inline

Definition at line 1077 of file HttpWebRequest.cs.

1078 {
1079 if (rangeSpecifier == null)
1080 {
1081 throw new ArgumentNullException("rangeSpecifier");
1082 }
1083 if (from < 0 || to < 0)
1084 {
1085 throw new ArgumentOutOfRangeException((from < 0) ? "from" : "to", System.SR.net_rangetoosmall);
1086 }
1087 if (from > to)
1088 {
1089 throw new ArgumentOutOfRangeException("from", System.SR.net_fromto);
1090 }
1092 {
1093 throw new ArgumentException(System.SR.net_nottoken, "rangeSpecifier");
1094 }
1096 {
1098 }
1099 }
static bool IsValidToken(string token)
void AddRange(int from, int to)
static string net_nottoken
Definition SR.cs:60
static string net_rangetype
Definition SR.cs:64
static string net_fromto
Definition SR.cs:52
Definition SR.cs:7

References System.Net.HttpWebRequest.AddRange(), System.Runtime.Serialization.Dictionary, System.Globalization.NumberFormatInfo.InvariantInfo, System.Net.HttpValidationHelpers.IsValidToken(), System.SR.net_fromto, System.SR.net_nottoken, System.SR.net_rangetoosmall, and System.SR.net_rangetype.