This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Cache
{
/// <summary>Specifies caching behavior for resources obtained using the Hypertext Transfer protocol (HTTP).</summary>
// Token: 0x0200030C RID: 780
[Token(Token = "0x200030C")]
public enum HttpRequestCacheLevel
{
/// <summary>Satisfies a request for a resource either by using the cached copy of the resource or by sending a request for the resource to the server. The action taken is determined by the current cache policy and the age of the content in the cache. This is the cache level that should be used by most applications.</summary>
// Token: 0x04000D14 RID: 3348
[Token(Token = "0x4000D14")]
Default,
/// <summary>Satisfies a request by using the server. No entries are taken from caches, added to caches, or removed from caches between the client and server. No entries are taken from caches, added to caches, or removed from caches between the client and server. This is the default cache behavior specified in the machine configuration file that ships with the .NET Framework.</summary>
// Token: 0x04000D15 RID: 3349
[Token(Token = "0x4000D15")]
BypassCache,
/// <summary>Satisfies a request using the locally cached resource; does not send a request for an item that is not in the cache. When this cache policy level is specified, a <see cref="T:System.Net.WebException" /> exception is thrown if the item is not in the client cache.</summary>
// Token: 0x04000D16 RID: 3350
[Token(Token = "0x4000D16")]
CacheOnly,
/// <summary>Satisfies a request for a resource from the cache if the resource is available; otherwise, sends a request for a resource to the server. If the requested item is available in any cache between the client and the server, the request might be satisfied by the intermediate cache.</summary>
// Token: 0x04000D17 RID: 3351
[Token(Token = "0x4000D17")]
CacheIfAvailable,
/// <summary>Compares the copy of the resource in the cache with the copy on the server. If the copy on the server is newer, it is used to satisfy the request and replaces the copy in the cache. If the copy in the cache is the same as the server copy, the cached copy is used. In the HTTP caching protocol, this is achieved using a conditional request.</summary>
// Token: 0x04000D18 RID: 3352
[Token(Token = "0x4000D18")]
Revalidate,
/// <summary>Satisfies a request by using the server. The response might be saved in the cache. In the HTTP caching protocol, this is achieved using the no-cache cache control directive and the no-cache <see langword="Pragma" /> header.</summary>
// Token: 0x04000D19 RID: 3353
[Token(Token = "0x4000D19")]
Reload,
/// <summary>Never satisfies a request by using resources from the cache and does not cache resources. If the resource is present in the local cache, it is removed. This policy level indicates to intermediate caches that they should remove the resource. In the HTTP caching protocol, this is achieved using the no-cache cache control directive.</summary>
// Token: 0x04000D1A RID: 3354
[Token(Token = "0x4000D1A")]
NoCacheNoStore,
/// <summary>Satisfies a request for a resource either from the local computer's cache or a remote cache on the local area network. If the request cannot be satisfied, a <see cref="T:System.Net.WebException" /> exception is thrown. In the HTTP caching protocol, this is achieved using the <see langword="only-if-cached" /> cache control directive.</summary>
// Token: 0x04000D1B RID: 3355
[Token(Token = "0x4000D1B")]
CacheOrNextCacheOnly,
/// <summary>Satisfies a request by using the server or a cache other than the local cache. Before the request can be satisfied by an intermediate cache, that cache must revalidate its cached entry with the server. In the HTTP caching protocol, this is achieved using the max-age = 0 cache control directive and the no-cache <see langword="Pragma" /> header.</summary>
// Token: 0x04000D1C RID: 3356
[Token(Token = "0x4000D1C")]
Refresh
}
}
+14
View File
@@ -0,0 +1,14 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Cache
{
// Token: 0x02000307 RID: 775
[Token(Token = "0x2000307")]
internal abstract class RequestCache
{
// Token: 0x04000D07 RID: 3335
[Token(Token = "0x4000D07")]
internal static readonly char[] LineSplits;
}
}
+46
View File
@@ -0,0 +1,46 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Cache
{
// Token: 0x02000309 RID: 777
[Token(Token = "0x2000309")]
internal class RequestCacheBinding
{
// Token: 0x1700042E RID: 1070
// (get) Token: 0x06001478 RID: 5240 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700042E")]
internal RequestCache Cache
{
[Token(Token = "0x6001478")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
// Token: 0x1700042F RID: 1071
// (get) Token: 0x06001479 RID: 5241 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700042F")]
internal RequestCacheValidator Validator
{
[Token(Token = "0x6001479")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return null;
}
}
// Token: 0x04000D08 RID: 3336
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000D08")]
private RequestCache m_RequestCache;
// Token: 0x04000D09 RID: 3337
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000D09")]
private RequestCacheValidator m_CacheValidator;
}
}
+40
View File
@@ -0,0 +1,40 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Cache
{
/// <summary>Specifies caching behavior for resources obtained using <see cref="T:System.Net.WebRequest" /> and its derived classes.</summary>
// Token: 0x0200030A RID: 778
[Token(Token = "0x200030A")]
public enum RequestCacheLevel
{
/// <summary>Satisfies a request for a resource either by using the cached copy of the resource or by sending a request for the resource to the server. The action taken is determined by the current cache policy and the age of the content in the cache. This is the cache level that should be used by most applications.</summary>
// Token: 0x04000D0B RID: 3339
[Token(Token = "0x4000D0B")]
Default,
/// <summary>Satisfies a request by using the server. No entries are taken from caches, added to caches, or removed from caches between the client and server. This is the default cache behavior specified in the machine configuration file that ships with the .NET Framework.</summary>
// Token: 0x04000D0C RID: 3340
[Token(Token = "0x4000D0C")]
BypassCache,
/// <summary>Satisfies a request using the locally cached resource; does not send a request for an item that is not in the cache. When this cache policy level is specified, a <see cref="T:System.Net.WebException" /> exception is thrown if the item is not in the client cache.</summary>
// Token: 0x04000D0D RID: 3341
[Token(Token = "0x4000D0D")]
CacheOnly,
/// <summary>Satisfies a request for a resource from the cache, if the resource is available; otherwise, sends a request for a resource to the server. If the requested item is available in any cache between the client and the server, the request might be satisfied by the intermediate cache.</summary>
// Token: 0x04000D0E RID: 3342
[Token(Token = "0x4000D0E")]
CacheIfAvailable,
/// <summary>Satisfies a request by using the cached copy of the resource if the timestamp is the same as the timestamp of the resource on the server; otherwise, the resource is downloaded from the server, presented to the caller, and stored in the cache.</summary>
// Token: 0x04000D0F RID: 3343
[Token(Token = "0x4000D0F")]
Revalidate,
/// <summary>Satisfies a request by using the server. The response might be saved in the cache. In the HTTP caching protocol, this is achieved using the <see langword="no-cache" /> cache control directive and the no-cache <see langword="Pragma" /> header.</summary>
// Token: 0x04000D10 RID: 3344
[Token(Token = "0x4000D10")]
Reload,
/// <summary>Never satisfies a request by using resources from the cache and does not cache resources. If the resource is present in the local cache, it is removed. This policy level indicates to intermediate caches that they should remove the resource. In the HTTP caching protocol, this is achieved using the <see langword="no-cache" /> cache control directive.</summary>
// Token: 0x04000D11 RID: 3345
[Token(Token = "0x4000D11")]
NoCacheNoStore
}
}
+31
View File
@@ -0,0 +1,31 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Cache
{
/// <summary>Defines an application's caching requirements for resources obtained by using <see cref="T:System.Net.WebRequest" /> objects.</summary>
// Token: 0x0200030B RID: 779
[Token(Token = "0x200030B")]
public class RequestCachePolicy
{
/// <summary>Gets the <see cref="T:System.Net.Cache.RequestCacheLevel" /> value specified when this instance was constructed.</summary>
/// <returns>A <see cref="T:System.Net.Cache.RequestCacheLevel" /> value that specifies the cache behavior for resources obtained using <see cref="T:System.Net.WebRequest" /> objects.</returns>
// Token: 0x17000430 RID: 1072
// (get) Token: 0x0600147A RID: 5242 RVA: 0x00009438 File Offset: 0x00007638
[Token(Token = "0x17000430")]
public RequestCacheLevel Level
{
[Token(Token = "0x600147A")]
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")]
get
{
return RequestCacheLevel.Default;
}
}
// Token: 0x04000D12 RID: 3346
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000D12")]
private RequestCacheLevel m_Level;
}
}
+17
View File
@@ -0,0 +1,17 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Cache
{
// Token: 0x0200030D RID: 781
[Token(Token = "0x200030D")]
internal class RequestCacheProtocol
{
// Token: 0x0600147B RID: 5243 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600147B")]
[Address(RVA = "0xDD6F20", Offset = "0xDD5F20", VA = "0x180DD6F20")]
public RequestCacheProtocol(object arg1, object arg2)
{
}
}
}
+18
View File
@@ -0,0 +1,18 @@
using System;
using Cpp2IlInjected;
namespace System.Net.Cache
{
// Token: 0x02000308 RID: 776
[Token(Token = "0x2000308")]
internal class RequestCacheValidator
{
// Token: 0x06001477 RID: 5239 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001477")]
[Address(RVA = "0xDD6F80", Offset = "0xDD5F80", VA = "0x180DD6F80")]
public object CreateValidator()
{
return null;
}
}
}