Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

242 lines
13 KiB
C#

using System;
using System.Collections;
using System.Reflection;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Remoting
{
/// <summary>Provides several methods for using and publishing remoted objects in SOAP format.</summary>
// Token: 0x020004D3 RID: 1235
[Token(Token = "0x20004D3")]
[ComVisible(true)]
public class SoapServices
{
/// <summary>Gets the default XML namespace prefix that should be used for XML encoding of a common language runtime class that has an assembly, but no native namespace.</summary>
/// <returns>The default XML namespace prefix that should be used for XML encoding of a common language runtime class that has an assembly, but no native namespace.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x170005E9 RID: 1513
// (get) Token: 0x060029A8 RID: 10664 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170005E9")]
public static string XmlNsForClrTypeWithAssembly
{
[Token(Token = "0x60029A8")]
[Address(RVA = "0x2CB6280", Offset = "0x2CB5280", VA = "0x182CB6280")]
get
{
return null;
}
}
/// <summary>Gets the XML namespace prefix that should be used for XML encoding of a common language runtime class that is part of the mscorlib.dll file.</summary>
/// <returns>The XML namespace prefix that should be used for XML encoding of a common language runtime class that is part of the mscorlib.dll file.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x170005EA RID: 1514
// (get) Token: 0x060029A9 RID: 10665 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170005EA")]
public static string XmlNsForClrTypeWithNs
{
[Token(Token = "0x60029A9")]
[Address(RVA = "0x2CB62E0", Offset = "0x2CB52E0", VA = "0x182CB62E0")]
get
{
return null;
}
}
/// <summary>Gets the default XML namespace prefix that should be used for XML encoding of a common language runtime class that has both a common language runtime namespace and an assembly.</summary>
/// <returns>The default XML namespace prefix that should be used for XML encoding of a common language runtime class that has both a common language runtime namespace and an assembly.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x170005EB RID: 1515
// (get) Token: 0x060029AA RID: 10666 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170005EB")]
public static string XmlNsForClrTypeWithNsAndAssembly
{
[Token(Token = "0x60029AA")]
[Address(RVA = "0x2CB62B0", Offset = "0x2CB52B0", VA = "0x182CB62B0")]
get
{
return null;
}
}
/// <summary>Returns the common language runtime type namespace name from the provided namespace and assembly names.</summary>
/// <param name="typeNamespace">The namespace that is to be coded.</param>
/// <param name="assemblyName">The name of the assembly that is to be coded.</param>
/// <returns>The common language runtime type namespace name from the provided namespace and assembly names.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="assemblyName" /> and <paramref name="typeNamespace" /> parameters are both either <see langword="null" /> or empty.</exception>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060029AB RID: 10667 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60029AB")]
[Address(RVA = "0x2CB5150", Offset = "0x2CB4150", VA = "0x182CB5150")]
public static string CodeXmlNamespaceForClrTypeNamespace(string typeNamespace, string assemblyName)
{
return null;
}
// Token: 0x060029AC RID: 10668 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60029AC")]
[Address(RVA = "0x2CB54C0", Offset = "0x2CB44C0", VA = "0x182CB54C0")]
private static string GetNameKey(string name, string namspace)
{
return null;
}
// Token: 0x060029AD RID: 10669 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60029AD")]
[Address(RVA = "0x2CB5370", Offset = "0x2CB4370", VA = "0x182CB5370")]
private static string GetAssemblyName(MethodBase mb)
{
return null;
}
/// <summary>Returns XML element information that should be used when serializing the given type.</summary>
/// <param name="type">The object <see cref="T:System.Type" /> for which the XML element and namespace names were requested.</param>
/// <param name="xmlElement">When this method returns, contains a <see cref="T:System.String" /> that holds the XML element name of the specified object type. This parameter is passed uninitialized.</param>
/// <param name="xmlNamespace">When this method returns, contains a <see cref="T:System.String" /> that holds the XML namespace name of the specified object type. This parameter is passed uninitialized.</param>
/// <returns>
/// <see langword="true" /> if the requested values have been set flagged with <see cref="T:System.Runtime.Remoting.Metadata.SoapTypeAttribute" />; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060029AE RID: 10670 RVA: 0x00018510 File Offset: 0x00016710
[Token(Token = "0x60029AE")]
[Address(RVA = "0x2CB5520", Offset = "0x2CB4520", VA = "0x182CB5520")]
public static bool GetXmlElementForInteropType(Type type, out string xmlElement, out string xmlNamespace)
{
return default(bool);
}
/// <summary>Retrieves the XML namespace used during remote calls of the method specified in the given <see cref="T:System.Reflection.MethodBase" />.</summary>
/// <param name="mb">The <see cref="T:System.Reflection.MethodBase" /> of the method for which the XML namespace was requested.</param>
/// <returns>The XML namespace used during remote calls of the specified method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060029AF RID: 10671 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60029AF")]
[Address(RVA = "0x2CB5600", Offset = "0x2CB4600", VA = "0x182CB5600")]
public static string GetXmlNamespaceForMethodCall(MethodBase mb)
{
return null;
}
/// <summary>Retrieves the XML namespace used during the generation of responses to the remote call to the method specified in the given <see cref="T:System.Reflection.MethodBase" />.</summary>
/// <param name="mb">The <see cref="T:System.Reflection.MethodBase" /> of the method for which the XML namespace was requested.</param>
/// <returns>The XML namespace used during the generation of responses to a remote method call.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060029B0 RID: 10672 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60029B0")]
[Address(RVA = "0x2CB56B0", Offset = "0x2CB46B0", VA = "0x182CB56B0")]
public static string GetXmlNamespaceForMethodResponse(MethodBase mb)
{
return null;
}
/// <summary>Returns XML type information that should be used when serializing the given <see cref="T:System.Type" />.</summary>
/// <param name="type">The object <see cref="T:System.Type" /> for which the XML element and namespace names were requested.</param>
/// <param name="xmlType">The XML type of the specified object <see cref="T:System.Type" />.</param>
/// <param name="xmlTypeNamespace">The XML type namespace of the specified object <see cref="T:System.Type" />.</param>
/// <returns>
/// <see langword="true" /> if the requested values have been set flagged with <see cref="T:System.Runtime.Remoting.Metadata.SoapTypeAttribute" />; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060029B1 RID: 10673 RVA: 0x00018528 File Offset: 0x00016728
[Token(Token = "0x60029B1")]
[Address(RVA = "0x2CB5760", Offset = "0x2CB4760", VA = "0x182CB5760")]
public static bool GetXmlTypeForInteropType(Type type, out string xmlType, out string xmlTypeNamespace)
{
return default(bool);
}
/// <summary>Preloads every <see cref="T:System.Type" /> found in the specified <see cref="T:System.Reflection.Assembly" /> from the information found in the <see cref="T:System.Runtime.Remoting.Metadata.SoapTypeAttribute" /> associated with each type.</summary>
/// <param name="assembly">The <see cref="T:System.Reflection.Assembly" /> for each type of which to call <see cref="M:System.Runtime.Remoting.SoapServices.PreLoad(System.Type)" />.</param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060029B2 RID: 10674 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029B2")]
[Address(RVA = "0x2CB5830", Offset = "0x2CB4830", VA = "0x182CB5830")]
public static void PreLoad(Assembly assembly)
{
}
/// <summary>Preloads the given <see cref="T:System.Type" /> based on values set in a <see cref="T:System.Runtime.Remoting.Metadata.SoapTypeAttribute" /> on the type.</summary>
/// <param name="type">The <see cref="T:System.Type" /> to preload.</param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060029B3 RID: 10675 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029B3")]
[Address(RVA = "0x2CB58F0", Offset = "0x2CB48F0", VA = "0x182CB58F0")]
public static void PreLoad(Type type)
{
}
/// <summary>Associates the given XML element name and namespace with a run-time type that should be used for deserialization.</summary>
/// <param name="xmlElement">The XML element name to use in deserialization.</param>
/// <param name="xmlNamespace">The XML namespace to use in deserialization.</param>
/// <param name="type">The run-time <see cref="T:System.Type" /> to use in deserialization.</param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060029B4 RID: 10676 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029B4")]
[Address(RVA = "0x2CB5E80", Offset = "0x2CB4E80", VA = "0x182CB5E80")]
public static void RegisterInteropXmlElement(string xmlElement, string xmlNamespace, Type type)
{
}
/// <summary>Associates the given XML type name and namespace with the run-time type that should be used for deserialization.</summary>
/// <param name="xmlType">The XML type to use in deserialization.</param>
/// <param name="xmlTypeNamespace">The XML namespace to use in deserialization.</param>
/// <param name="type">The run-time <see cref="T:System.Type" /> to use in deserialization.</param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060029B5 RID: 10677 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029B5")]
[Address(RVA = "0x2CB6000", Offset = "0x2CB5000", VA = "0x182CB6000")]
public static void RegisterInteropXmlType(string xmlType, string xmlTypeNamespace, Type type)
{
}
// Token: 0x060029B6 RID: 10678 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60029B6")]
[Address(RVA = "0x2CB52E0", Offset = "0x2CB42E0", VA = "0x182CB52E0")]
private static string EncodeNs(string ns)
{
return null;
}
// Token: 0x0400180D RID: 6157
[Token(Token = "0x400180D")]
private static Hashtable _xmlTypes;
// Token: 0x0400180E RID: 6158
[Token(Token = "0x400180E")]
private static Hashtable _xmlElements;
// Token: 0x0400180F RID: 6159
[Token(Token = "0x400180F")]
private static Hashtable _soapActions;
// Token: 0x04001810 RID: 6160
[Token(Token = "0x4001810")]
private static Hashtable _soapActionsMethods;
// Token: 0x04001811 RID: 6161
[Token(Token = "0x4001811")]
private static Hashtable _typeInfos;
// Token: 0x020004D4 RID: 1236
[Token(Token = "0x20004D4")]
private class TypeInfo
{
// Token: 0x060029B8 RID: 10680 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60029B8")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public TypeInfo()
{
}
// Token: 0x04001812 RID: 6162
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001812")]
public Hashtable Attributes;
// Token: 0x04001813 RID: 6163
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001813")]
public Hashtable Elements;
}
}
}