using System; using System.Collections; using System.Collections.Specialized; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Net { /// Contains protocol headers associated with a request or response. // Token: 0x0200023E RID: 574 [Token(Token = "0x200023E")] [ComVisible(true)] [DefaultMember("Item")] [Serializable] public class WebHeaderCollection : NameValueCollection, ISerializable { // Token: 0x06000E53 RID: 3667 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E53")] [Address(RVA = "0x405860", Offset = "0x404660", VA = "0x180405860")] private void NormalizeCommonHeaders() { } // Token: 0x170002A8 RID: 680 // (get) Token: 0x06000E54 RID: 3668 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002A8")] private NameValueCollection InnerCollection { [Token(Token = "0x6000E54")] [Address(RVA = "0x406E10", Offset = "0x405C10", VA = "0x180406E10")] get { return null; } } // Token: 0x06000E55 RID: 3669 RVA: 0x00007248 File Offset: 0x00005448 [Token(Token = "0x6000E55")] [Address(RVA = "0x4046E0", Offset = "0x4034E0", VA = "0x1804046E0")] internal static bool AllowMultiValues(string name) { return default(bool); } // Token: 0x170002A9 RID: 681 // (get) Token: 0x06000E56 RID: 3670 RVA: 0x00007260 File Offset: 0x00005460 [Token(Token = "0x170002A9")] private bool AllowHttpRequestHeader { [Token(Token = "0x6000E56")] [Address(RVA = "0x406DA0", Offset = "0x405BA0", VA = "0x180406DA0")] get { return default(bool); } } /// Removes the specified header from the collection. /// The instance to remove from the collection. /// This instance does not allow instances of . // Token: 0x06000E57 RID: 3671 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E57")] [Address(RVA = "0x405A20", Offset = "0x404820", VA = "0x180405A20")] public void Remove(HttpRequestHeader header) { } // Token: 0x06000E58 RID: 3672 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E58")] [Address(RVA = "0x404250", Offset = "0x403050", VA = "0x180404250")] internal void AddInternal(string name, string value) { } // Token: 0x06000E59 RID: 3673 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E59")] [Address(RVA = "0x404780", Offset = "0x403580", VA = "0x180404780")] internal void ChangeInternal(string name, string value) { } // Token: 0x06000E5A RID: 3674 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E5A")] [Address(RVA = "0x4059C0", Offset = "0x4047C0", VA = "0x1804059C0")] internal void RemoveInternal(string name) { } // Token: 0x06000E5B RID: 3675 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E5B")] [Address(RVA = "0x404C70", Offset = "0x403A70", VA = "0x180404C70")] internal void CheckUpdate(string name, string value) { } // Token: 0x06000E5C RID: 3676 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E5C")] [Address(RVA = "0x4047F0", Offset = "0x4035F0", VA = "0x1804047F0")] internal static string CheckBadChars(string name, bool isHeaderValue) { return null; } // Token: 0x06000E5D RID: 3677 RVA: 0x00007278 File Offset: 0x00005478 [Token(Token = "0x6000E5D")] [Address(RVA = "0x404D30", Offset = "0x403B30", VA = "0x180404D30")] internal static bool ContainsNonAsciiChars(string token) { return default(bool); } // Token: 0x06000E5E RID: 3678 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E5E")] [Address(RVA = "0x406030", Offset = "0x404E30", VA = "0x180406030")] internal void ThrowOnRestrictedHeader(string headerName) { } /// Inserts a header with the specified name and value into the collection. /// The header to add to the collection. /// The content of the header. /// /// is , , or contains invalid characters. /// -or- /// is a restricted header that must be set with a property setting. /// -or- /// contains invalid characters. /// The length of is greater than 65535. // Token: 0x06000E5F RID: 3679 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E5F")] [Address(RVA = "0x404550", Offset = "0x403350", VA = "0x180404550", Slot = "15")] public override void Add(string name, string value) { } /// Inserts the specified header into the collection. /// The header to add, with the name and value separated by a colon. /// /// is or . /// /// does not contain a colon (:) character. /// The length of is greater than 65535. /// -or- /// The name part of is or contains invalid characters. /// -or- /// is a restricted header that should be set with a property. /// -or- /// The value part of contains invalid characters. /// The length the string after the colon (:) is greater than 65535. // Token: 0x06000E60 RID: 3680 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E60")] [Address(RVA = "0x4042C0", Offset = "0x4030C0", VA = "0x1804042C0")] public void Add(string header) { } /// Sets the specified header to the specified value. /// The header to set. /// The content of the header to set. /// /// is or . /// The length of is greater than 65535. /// /// is a restricted header. /// -or- /// or contain invalid characters. // Token: 0x06000E61 RID: 3681 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E61")] [Address(RVA = "0x405E00", Offset = "0x404C00", VA = "0x180405E00", Slot = "18")] public override void Set(string name, string value) { } // Token: 0x06000E62 RID: 3682 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E62")] [Address(RVA = "0x405C10", Offset = "0x404A10", VA = "0x180405C10")] internal void SetInternal(string name, string value) { } /// Removes the specified header from the collection. /// The name of the header to remove from the collection. /// /// is . /// /// is a restricted header. /// -or- /// contains invalid characters. // Token: 0x06000E63 RID: 3683 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E63")] [Address(RVA = "0x405B00", Offset = "0x404900", VA = "0x180405B00", Slot = "19")] public override void Remove(string name) { } /// Gets an array of header values stored in a header. /// The header to return. /// An array of header strings. // Token: 0x06000E64 RID: 3684 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E64")] [Address(RVA = "0x405220", Offset = "0x404020", VA = "0x180405220", Slot = "17")] public override string[] GetValues(string header) { return null; } /// This method is obsolete. /// The representation of the collection. // Token: 0x06000E65 RID: 3685 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E65")] [Address(RVA = "0x406230", Offset = "0x405030", VA = "0x180406230", Slot = "3")] public override string ToString() { return null; } // Token: 0x06000E66 RID: 3686 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E66")] [Address(RVA = "0x404DA0", Offset = "0x403BA0", VA = "0x180404DA0")] internal static string GetAsString(NameValueCollection cc, bool winInetCompat, bool forTrace) { return null; } /// Initializes a new instance of the class. // Token: 0x06000E67 RID: 3687 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E67")] [Address(RVA = "0x406CF0", Offset = "0x405AF0", VA = "0x180406CF0")] public WebHeaderCollection() { } // Token: 0x06000E68 RID: 3688 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E68")] [Address(RVA = "0x406C20", Offset = "0x405A20", VA = "0x180406C20")] internal WebHeaderCollection(WebHeaderCollectionType type) { } /// Initializes a new instance of the class from the specified instances of the and classes. /// A containing the information required to serialize the . /// A containing the source of the serialized stream associated with the new . /// /// contains invalid characters. /// /// is a null reference or . // Token: 0x06000E69 RID: 3689 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E69")] [Address(RVA = "0x406A70", Offset = "0x405870", VA = "0x180406A70")] protected WebHeaderCollection(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Implements the interface and raises the deserialization event when the deserialization is complete. /// The source of the deserialization event. // Token: 0x06000E6A RID: 3690 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E6A")] [Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "12")] public override void OnDeserialization(object sender) { } /// Populates a with the data needed to serialize the target object. /// The to populate with data. /// A that specifies the destination for this serialization. // Token: 0x06000E6B RID: 3691 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E6B")] [Address(RVA = "0x4050B0", Offset = "0x403EB0", VA = "0x1804050B0", Slot = "11")] public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Serializes this instance into the specified object. /// The object into which this will be serialized. /// The destination of the serialization. // Token: 0x06000E6C RID: 3692 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E6C")] [Address(RVA = "0x406000", Offset = "0x404E00", VA = "0x180406000", Slot = "9")] void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Gets the value of a particular header in the collection, specified by the name of the header. /// The name of the Web header. /// A holding the value of the specified header. // Token: 0x06000E6D RID: 3693 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E6D")] [Address(RVA = "0x405490", Offset = "0x404290", VA = "0x180405490", Slot = "16")] public override string Get(string name) { return null; } /// Returns an enumerator that can iterate through the instance. /// An for the . // Token: 0x06000E6E RID: 3694 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E6E")] [Address(RVA = "0x404FF0", Offset = "0x403DF0", VA = "0x180404FF0", Slot = "13")] public override IEnumerator GetEnumerator() { return null; } /// Gets the number of headers in the collection. /// An indicating the number of headers in a request. // Token: 0x170002AA RID: 682 // (get) Token: 0x06000E6F RID: 3695 RVA: 0x00007290 File Offset: 0x00005490 [Token(Token = "0x170002AA")] public override int Count { [Token(Token = "0x6000E6F")] [Address(RVA = "0x406DD0", Offset = "0x405BD0", VA = "0x180406DD0", Slot = "14")] get { return 0; } } /// Gets the value of a particular header in the collection, specified by an index into the collection. /// The zero-based index of the key to get from the collection. /// A containing the value of the specified header. /// /// is negative. /// -or- /// exceeds the size of the collection. // Token: 0x06000E70 RID: 3696 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E70")] [Address(RVA = "0x405440", Offset = "0x404240", VA = "0x180405440", Slot = "20")] public override string Get(int index) { return null; } /// Gets the header name at the specified position in the collection. /// The zero-based index of the key to get from the collection. /// A holding the header name. /// /// is negative. /// -or- /// exceeds the size of the collection. // Token: 0x06000E71 RID: 3697 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000E71")] [Address(RVA = "0x405060", Offset = "0x403E60", VA = "0x180405060", Slot = "21")] public override string GetKey(int index) { return null; } /// Gets all header names (keys) in the collection. /// An array of type containing all header names in a Web request. // Token: 0x170002AB RID: 683 // (get) Token: 0x06000E72 RID: 3698 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170002AB")] public override string[] AllKeys { [Token(Token = "0x6000E72")] [Address(RVA = "0x406D60", Offset = "0x405B60", VA = "0x180406D60", Slot = "22")] get { return null; } } // Token: 0x0400086B RID: 2155 [Token(Token = "0x400086B")] private static readonly HeaderInfoTable HInfo; // Token: 0x0400086C RID: 2156 [global::Cpp2IlInjected.FieldOffset(Offset = "0x60")] [Token(Token = "0x400086C")] private string[] m_CommonHeaders; // Token: 0x0400086D RID: 2157 [global::Cpp2IlInjected.FieldOffset(Offset = "0x68")] [Token(Token = "0x400086D")] private int m_NumCommonHeaders; // Token: 0x0400086E RID: 2158 [Token(Token = "0x400086E")] private static readonly string[] s_CommonHeaderNames; // Token: 0x0400086F RID: 2159 [Token(Token = "0x400086F")] private static readonly sbyte[] s_CommonHeaderHints; // Token: 0x04000870 RID: 2160 [global::Cpp2IlInjected.FieldOffset(Offset = "0x70")] [Token(Token = "0x4000870")] private NameValueCollection m_InnerCollection; // Token: 0x04000871 RID: 2161 [global::Cpp2IlInjected.FieldOffset(Offset = "0x78")] [Token(Token = "0x4000871")] private WebHeaderCollectionType m_Type; // Token: 0x04000872 RID: 2162 [Token(Token = "0x4000872")] private static readonly char[] HttpTrimCharacters; // Token: 0x04000873 RID: 2163 [Token(Token = "0x4000873")] private static WebHeaderCollection.RfcChar[] RfcCharMap; // Token: 0x0200023F RID: 575 [Token(Token = "0x200023F")] private enum RfcChar : byte { // Token: 0x04000875 RID: 2165 [Token(Token = "0x4000875")] High, // Token: 0x04000876 RID: 2166 [Token(Token = "0x4000876")] Reg, // Token: 0x04000877 RID: 2167 [Token(Token = "0x4000877")] Ctl, // Token: 0x04000878 RID: 2168 [Token(Token = "0x4000878")] CR, // Token: 0x04000879 RID: 2169 [Token(Token = "0x4000879")] LF, // Token: 0x0400087A RID: 2170 [Token(Token = "0x400087A")] WS, // Token: 0x0400087B RID: 2171 [Token(Token = "0x400087B")] Colon, // Token: 0x0400087C RID: 2172 [Token(Token = "0x400087C")] Delim } } }