76 lines
2.4 KiB
C#
76 lines
2.4 KiB
C#
using System;
|
|
using System.Net.Configuration;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides methods for encoding and decoding URLs when processing Web requests.</summary>
|
|
// Token: 0x02000242 RID: 578
|
|
[Token(Token = "0x2000242")]
|
|
public static class WebUtility
|
|
{
|
|
// Token: 0x06000E96 RID: 3734 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000E96")]
|
|
[Address(RVA = "0x77DA20", Offset = "0x77CA20", VA = "0x18077DA20")]
|
|
private static byte[] UrlEncode(byte[] bytes, int offset, int count, bool alwaysCreateNewReturnValue)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000E97 RID: 3735 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000E97")]
|
|
[Address(RVA = "0x77DAF0", Offset = "0x77CAF0", VA = "0x18077DAF0")]
|
|
private static byte[] UrlEncode(byte[] bytes, int offset, int count)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Converts a text string into a URL-encoded string.</summary>
|
|
/// <param name="value">The text to URL-encode.</param>
|
|
/// <returns>A URL-encoded string.</returns>
|
|
// Token: 0x06000E98 RID: 3736 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000E98")]
|
|
[Address(RVA = "0x77D900", Offset = "0x77C900", VA = "0x18077D900")]
|
|
public static string UrlEncode(string value)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000E99 RID: 3737 RVA: 0x00007338 File Offset: 0x00005538
|
|
[Token(Token = "0x6000E99")]
|
|
[Address(RVA = "0x77D870", Offset = "0x77C870", VA = "0x18077D870")]
|
|
private static char IntToHex(int n)
|
|
{
|
|
return '\0';
|
|
}
|
|
|
|
// Token: 0x06000E9A RID: 3738 RVA: 0x00007350 File Offset: 0x00005550
|
|
[Token(Token = "0x6000E9A")]
|
|
[Address(RVA = "0x77D880", Offset = "0x77C880", VA = "0x18077D880")]
|
|
private static bool IsUrlSafeChar(char ch)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06000E9B RID: 3739 RVA: 0x00007368 File Offset: 0x00005568
|
|
[Token(Token = "0x6000E9B")]
|
|
[Address(RVA = "0x77DF00", Offset = "0x77CF00", VA = "0x18077DF00")]
|
|
private static bool ValidateUrlEncodingParameters(byte[] bytes, int offset, int count)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0400087E RID: 2174
|
|
[Token(Token = "0x400087E")]
|
|
private static readonly char[] _htmlEntityEndingChars;
|
|
|
|
// Token: 0x0400087F RID: 2175
|
|
[Token(Token = "0x400087F")]
|
|
private static UnicodeDecodingConformance _htmlDecodeConformance;
|
|
|
|
// Token: 0x04000880 RID: 2176
|
|
[Token(Token = "0x4000880")]
|
|
private static UnicodeEncodingConformance _htmlEncodeConformance;
|
|
}
|
|
}
|