146 lines
5.0 KiB
C#
146 lines
5.0 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides a container for a collection of <see cref="T:System.Net.CookieCollection" /> objects.</summary>
|
|
// Token: 0x0200025F RID: 607
|
|
[Token(Token = "0x200025F")]
|
|
[Serializable]
|
|
public class CookieContainer
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.CookieContainer" /> class.</summary>
|
|
// Token: 0x06000F28 RID: 3880 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F28")]
|
|
[Address(RVA = "0xDCB710", Offset = "0xDCA710", VA = "0x180DCB710")]
|
|
public CookieContainer()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000F29 RID: 3881 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F29")]
|
|
[Address(RVA = "0xDC8900", Offset = "0xDC7900", VA = "0x180DC8900")]
|
|
private void AddRemoveDomain(string key, PathList value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000F2A RID: 3882 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F2A")]
|
|
[Address(RVA = "0xDC8A10", Offset = "0xDC7A10", VA = "0x180DC8A10")]
|
|
internal void Add(Cookie cookie, bool throwOnError)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000F2B RID: 3883 RVA: 0x000076C8 File Offset: 0x000058C8
|
|
[Token(Token = "0x6000F2B")]
|
|
[Address(RVA = "0xDC90D0", Offset = "0xDC80D0", VA = "0x180DC90D0")]
|
|
private bool AgeCookies(string domain)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06000F2C RID: 3884 RVA: 0x000076E0 File Offset: 0x000058E0
|
|
[Token(Token = "0x6000F2C")]
|
|
[Address(RVA = "0xDCA990", Offset = "0xDC9990", VA = "0x180DCA990")]
|
|
private int ExpireCollection(CookieCollection cc)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000F2D RID: 3885 RVA: 0x000076F8 File Offset: 0x000058F8
|
|
[Token(Token = "0x6000F2D")]
|
|
[Address(RVA = "0xDCB130", Offset = "0xDCA130", VA = "0x180DCB130")]
|
|
internal bool IsLocalDomain(string host)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06000F2E RID: 3886 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000F2E")]
|
|
[Address(RVA = "0xDCA390", Offset = "0xDC9390", VA = "0x180DCA390")]
|
|
internal CookieCollection CookieCutter(Uri uri, string headerName, string setCookieHeader, bool isThrow)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000F2F RID: 3887 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000F2F")]
|
|
[Address(RVA = "0xDCAE20", Offset = "0xDC9E20", VA = "0x180DCAE20")]
|
|
internal CookieCollection InternalGetCookies(Uri uri)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000F30 RID: 3888 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F30")]
|
|
[Address(RVA = "0xDC9D80", Offset = "0xDC8D80", VA = "0x180DC9D80")]
|
|
private void BuildCookieCollectionFromDomainMatches(Uri uri, bool isSecure, int port, CookieCollection cookies, List<string> domainAttribute, bool matchOnlyPlainCookie)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000F31 RID: 3889 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000F31")]
|
|
[Address(RVA = "0xDCB440", Offset = "0xDCA440", VA = "0x180DCB440")]
|
|
private void MergeUpdateCollections(CookieCollection destination, CookieCollection source, int port, bool isSecure, bool isPlainOnly)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the HTTP cookie header that contains the HTTP cookies that represent the <see cref="T:System.Net.Cookie" /> instances that are associated with a specific URI.</summary>
|
|
/// <param name="uri">The URI of the <see cref="T:System.Net.Cookie" /> instances desired.</param>
|
|
/// <returns>An HTTP cookie header, with strings representing <see cref="T:System.Net.Cookie" /> instances delimited by semicolons.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="uri" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06000F32 RID: 3890 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000F32")]
|
|
[Address(RVA = "0xDCAAD0", Offset = "0xDC9AD0", VA = "0x180DCAAD0")]
|
|
public string GetCookieHeader(Uri uri)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000F33 RID: 3891 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000F33")]
|
|
[Address(RVA = "0xDCAB90", Offset = "0xDC9B90", VA = "0x180DCAB90")]
|
|
internal string GetCookieHeader(Uri uri, out string optCookie2)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04000901 RID: 2305
|
|
[Token(Token = "0x4000901")]
|
|
private static readonly HeaderVariantInfo[] HeaderInfo;
|
|
|
|
// Token: 0x04000902 RID: 2306
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000902")]
|
|
private Hashtable m_domainTable;
|
|
|
|
// Token: 0x04000903 RID: 2307
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000903")]
|
|
private int m_maxCookieSize;
|
|
|
|
// Token: 0x04000904 RID: 2308
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x4000904")]
|
|
private int m_maxCookies;
|
|
|
|
// Token: 0x04000905 RID: 2309
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000905")]
|
|
private int m_maxCookiesPerDomain;
|
|
|
|
// Token: 0x04000906 RID: 2310
|
|
[FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x4000906")]
|
|
private int m_count;
|
|
|
|
// Token: 0x04000907 RID: 2311
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000907")]
|
|
private string m_fqdnMyDomain;
|
|
}
|
|
}
|