Files
Apr2020-Cpp2Il-Dump/mscorlib/System/Runtime/Remoting/RemotingServices.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

472 lines
22 KiB
C#

using System;
using System.Collections;
using System.Reflection;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Remoting.Proxies;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using Cpp2IlInjected;
namespace System.Runtime.Remoting
{
/// <summary>Provides several methods for using and publishing remoted objects and proxies. This class cannot be inherited.</summary>
// Token: 0x020004B0 RID: 1200
[Token(Token = "0x20004B0")]
[ComVisible(true)]
public static class RemotingServices
{
// Token: 0x06002754 RID: 10068 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002754")]
[Address(RVA = "0x25C6780", Offset = "0x25C5580", VA = "0x1825C6780")]
internal static object InternalExecute(MethodBase method, object obj, object[] parameters, out object[] out_args)
{
return null;
}
// Token: 0x06002755 RID: 10069 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002755")]
[Address(RVA = "0x25C6040", Offset = "0x25C4E40", VA = "0x1825C6040")]
internal static MethodBase GetVirtualMethod(Type type, MethodBase method)
{
return null;
}
/// <summary>Returns a Boolean value that indicates whether the given object is a transparent proxy or a real object.</summary>
/// <param name="proxy">The reference to the object to check.</param>
/// <returns>A Boolean value that indicates whether the object specified in the <paramref name="proxy" /> parameter is a transparent proxy or a real object.</returns>
// Token: 0x06002756 RID: 10070 RVA: 0x000160F8 File Offset: 0x000142F8
[Token(Token = "0x6002756")]
[Address(RVA = "0x25C6820", Offset = "0x25C5620", VA = "0x1825C6820")]
public static bool IsTransparentProxy(object proxy)
{
return default(bool);
}
// Token: 0x06002757 RID: 10071 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002757")]
[Address(RVA = "0x25C6050", Offset = "0x25C4E50", VA = "0x1825C6050")]
internal static IMethodReturnMessage InternalExecuteMessage(MarshalByRefObject target, IMethodCallMessage reqMsg)
{
return null;
}
/// <summary>Creates a proxy for a well-known object, given the <see cref="T:System.Type" /> and URL.</summary>
/// <param name="classToProxy">The <see cref="T:System.Type" /> of a well-known object on the server end to which you want to connect.</param>
/// <param name="url">The URL of the server class.</param>
/// <returns>A proxy to the remote object that points to an endpoint served by the specified well-known object.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have permission to configure remoting types and channels.</exception>
// Token: 0x06002758 RID: 10072 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002758")]
[Address(RVA = "0x25C3B60", Offset = "0x25C2960", VA = "0x1825C3B60")]
[ComVisible(true)]
public static object Connect(Type classToProxy, string url)
{
return null;
}
/// <summary>Creates a proxy for a well-known object, given the <see cref="T:System.Type" />, URL, and channel-specific data.</summary>
/// <param name="classToProxy">The <see cref="T:System.Type" /> of the well-known object to which you want to connect.</param>
/// <param name="url">The URL of the well-known object.</param>
/// <param name="data">Channel specific data. Can be <see langword="null" />.</param>
/// <returns>A proxy that points to an endpoint that is served by the requested well-known object.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have permission to configure remoting types and channels.</exception>
// Token: 0x06002759 RID: 10073 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002759")]
[Address(RVA = "0x25C3C00", Offset = "0x25C2A00", VA = "0x1825C3C00")]
[ComVisible(true)]
public static object Connect(Type classToProxy, string url, object data)
{
return null;
}
/// <summary>Returns the <see cref="T:System.Type" /> of the object with the specified URI.</summary>
/// <param name="URI">The URI of the object whose <see cref="T:System.Type" /> is requested.</param>
/// <returns>The <see cref="T:System.Type" /> of the object with the specified URI.</returns>
/// <exception cref="T:System.Security.SecurityException">Either the immediate caller does not have infrastructure permission, or at least one of the callers higher in the callstack does not have permission to retrieve the type information of non-public members.</exception>
// Token: 0x0600275A RID: 10074 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600275A")]
[Address(RVA = "0x25C5F90", Offset = "0x25C4D90", VA = "0x1825C5F90")]
public static Type GetServerTypeForUri(string URI)
{
return null;
}
/// <summary>Takes a <see cref="T:System.Runtime.Remoting.ObjRef" /> and creates a proxy object out of it.</summary>
/// <param name="objectRef">The <see cref="T:System.Runtime.Remoting.ObjRef" /> that represents the remote object for which the proxy is being created.</param>
/// <returns>A proxy to the object that the given <see cref="T:System.Runtime.Remoting.ObjRef" /> represents.</returns>
/// <exception cref="T:System.ArgumentException">The <see cref="T:System.Runtime.Remoting.ObjRef" /> instance specified in the <paramref name="objectRef" /> parameter is not well-formed.</exception>
/// <exception cref="T:System.Security.SecurityException">At least one of the callers higher in the callstack does not have permission to configure remoting types and channels.</exception>
// Token: 0x0600275B RID: 10075 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600275B")]
[Address(RVA = "0x25C73B0", Offset = "0x25C61B0", VA = "0x1825C73B0")]
public static object Unmarshal(ObjRef objectRef)
{
return null;
}
/// <summary>Takes a <see cref="T:System.Runtime.Remoting.ObjRef" /> and creates a proxy object out of it, refining it to the type on the server.</summary>
/// <param name="objectRef">The <see cref="T:System.Runtime.Remoting.ObjRef" /> that represents the remote object for which the proxy is being created.</param>
/// <param name="fRefine">
/// <see langword="true" /> to refine the proxy to the type on the server; otherwise, <see langword="false" />.</param>
/// <returns>A proxy to the object that the given <see cref="T:System.Runtime.Remoting.ObjRef" /> represents.</returns>
/// <exception cref="T:System.ArgumentException">The <see cref="T:System.Runtime.Remoting.ObjRef" /> instance specified in the <paramref name="objectRef" /> parameter is not well-formed.</exception>
/// <exception cref="T:System.Security.SecurityException">At least one of the callers higher in the callstack does not have permission to configure remoting types and channels.</exception>
// Token: 0x0600275C RID: 10076 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600275C")]
[Address(RVA = "0x25C7410", Offset = "0x25C6210", VA = "0x1825C7410")]
public static object Unmarshal(ObjRef objectRef, bool fRefine)
{
return null;
}
/// <summary>Takes a <see cref="T:System.MarshalByRefObject" />, registers it with the remoting infrastructure, and converts it into an instance of the <see cref="T:System.Runtime.Remoting.ObjRef" /> class.</summary>
/// <param name="Obj">The object to convert.</param>
/// <returns>An instance of the <see cref="T:System.Runtime.Remoting.ObjRef" /> class that represents the object specified in the <paramref name="Obj" /> parameter.</returns>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">The <paramref name="Obj" /> parameter is an object proxy.</exception>
/// <exception cref="T:System.Security.SecurityException">At least one of the callers higher in the callstack does not have permission to configure remoting types and channels.</exception>
// Token: 0x0600275D RID: 10077 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600275D")]
[Address(RVA = "0x25C68C0", Offset = "0x25C56C0", VA = "0x1825C68C0")]
public static ObjRef Marshal(MarshalByRefObject Obj)
{
return null;
}
/// <summary>Takes a <see cref="T:System.MarshalByRefObject" /> and converts it into an instance of the <see cref="T:System.Runtime.Remoting.ObjRef" /> class with the specified URI, and the provided <see cref="T:System.Type" />.</summary>
/// <param name="Obj">The object to convert into a <see cref="T:System.Runtime.Remoting.ObjRef" />.</param>
/// <param name="ObjURI">The URI the object specified in the <paramref name="Obj" /> parameter is marshaled with. Can be <see langword="null" />.</param>
/// <param name="RequestedType">The <see cref="T:System.Type" /><paramref name="Obj" /> is marshaled as. Can be <see langword="null" />.</param>
/// <returns>An instance of the <see cref="T:System.Runtime.Remoting.ObjRef" /> class that represents the object specified in the <paramref name="Obj" /> parameter.</returns>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="Obj" /> is a proxy of a remote object, and the <paramref name="ObjUri" /> parameter is not <see langword="null" />.</exception>
/// <exception cref="T:System.Security.SecurityException">At least one of the callers higher in the callstack does not have permission to configure remoting types and channels.</exception>
// Token: 0x0600275E RID: 10078 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600275E")]
[Address(RVA = "0x25C6870", Offset = "0x25C5670", VA = "0x1825C6870")]
public static ObjRef Marshal(MarshalByRefObject Obj, string ObjURI, Type RequestedType)
{
return null;
}
// Token: 0x0600275F RID: 10079 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600275F")]
[Address(RVA = "0x25C6920", Offset = "0x25C5720", VA = "0x1825C6920")]
private static string NewUri()
{
return null;
}
/// <summary>Returns the real proxy backing the specified transparent proxy.</summary>
/// <param name="proxy">A transparent proxy.</param>
/// <returns>The real proxy instance backing the transparent proxy.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x06002760 RID: 10080 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002760")]
[Address(RVA = "0x25C5EC0", Offset = "0x25C4CC0", VA = "0x1825C5EC0")]
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
public static RealProxy GetRealProxy(object proxy)
{
return null;
}
/// <summary>Returns the method base from the given <see cref="T:System.Runtime.Remoting.Messaging.IMethodMessage" />.</summary>
/// <param name="msg">The method message to extract the method base from.</param>
/// <returns>The method base extracted from the <paramref name="msg" /> parameter.</returns>
/// <exception cref="T:System.Security.SecurityException">Either the immediate caller does not have infrastructure permission, or at least one of the callers higher in the callstack does not have permission to retrieve the type information of non-public members.</exception>
// Token: 0x06002761 RID: 10081 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002761")]
[Address(RVA = "0x25C53C0", Offset = "0x25C41C0", VA = "0x1825C53C0")]
public static MethodBase GetMethodBaseFromMethodMessage(IMethodMessage msg)
{
return null;
}
// Token: 0x06002762 RID: 10082 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002762")]
[Address(RVA = "0x25C5580", Offset = "0x25C4380", VA = "0x1825C5580")]
internal static MethodBase GetMethodBaseFromName(Type type, string methodName, Type[] signature)
{
return null;
}
// Token: 0x06002763 RID: 10083 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002763")]
[Address(RVA = "0x25C4800", Offset = "0x25C3600", VA = "0x1825C4800")]
private static MethodBase FindInterfaceMethod(Type type, string methodName, Type[] signature)
{
return null;
}
/// <summary>Serializes the specified marshal by reference object into the provided <see cref="T:System.Runtime.Serialization.SerializationInfo" />.</summary>
/// <param name="obj">The object to serialize.</param>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> into which the object is serialized.</param>
/// <param name="context">The source and destination of the serialization.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="obj" /> or <paramref name="info" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x06002764 RID: 10084 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002764")]
[Address(RVA = "0x25C57F0", Offset = "0x25C45F0", VA = "0x1825C57F0")]
public static void GetObjectData(object obj, SerializationInfo info, StreamingContext context)
{
}
/// <summary>Returns a Boolean value that indicates whether the client that called the method specified in the given message is waiting for the server to finish processing the method before continuing execution.</summary>
/// <param name="method">The method in question.</param>
/// <returns>
/// <see langword="true" /> if the method is one way; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x06002765 RID: 10085 RVA: 0x00016110 File Offset: 0x00014310
[Token(Token = "0x6002765")]
[Address(RVA = "0x25C6790", Offset = "0x25C5590", VA = "0x1825C6790")]
public static bool IsOneWay(MethodBase method)
{
return default(bool);
}
// Token: 0x06002766 RID: 10086 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002766")]
[Address(RVA = "0x25C3EE0", Offset = "0x25C2CE0", VA = "0x1825C3EE0")]
internal static object CreateClientProxy(ActivatedClientTypeEntry entry, object[] activationAttributes)
{
return null;
}
// Token: 0x06002767 RID: 10087 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002767")]
[Address(RVA = "0x25C4040", Offset = "0x25C2E40", VA = "0x1825C4040")]
internal static object CreateClientProxy(Type objectType, string url, object[] activationAttributes)
{
return null;
}
// Token: 0x06002768 RID: 10088 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002768")]
[Address(RVA = "0x25C4160", Offset = "0x25C2F60", VA = "0x1825C4160")]
internal static object CreateClientProxy(WellKnownClientTypeEntry entry)
{
return null;
}
// Token: 0x06002769 RID: 10089 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002769")]
[Address(RVA = "0x25C3D50", Offset = "0x25C2B50", VA = "0x1825C3D50")]
internal static object CreateClientProxyForContextBound(Type type, object[] activationAttributes)
{
return null;
}
// Token: 0x0600276A RID: 10090 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600276A")]
[Address(RVA = "0x25C4CF0", Offset = "0x25C3AF0", VA = "0x1825C4CF0")]
internal static Identity GetIdentityForUri(string uri)
{
return null;
}
// Token: 0x0600276B RID: 10091 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600276B")]
[Address(RVA = "0x25C6F90", Offset = "0x25C5D90", VA = "0x1825C6F90")]
private static string RemoveAppNameFromUri(string uri)
{
return null;
}
// Token: 0x0600276C RID: 10092 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600276C")]
[Address(RVA = "0x25C5890", Offset = "0x25C4690", VA = "0x1825C5890")]
internal static ClientIdentity GetOrCreateClientIdentity(ObjRef objRef, Type proxyType, out object clientProxy)
{
return null;
}
// Token: 0x0600276D RID: 10093 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600276D")]
[Address(RVA = "0x25C4950", Offset = "0x25C3750", VA = "0x1825C4950")]
private static IMessageSink GetClientChannelSinkChain(string url, object channelData, out string objectUri)
{
return null;
}
// Token: 0x0600276E RID: 10094 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600276E")]
[Address(RVA = "0x25C4250", Offset = "0x25C3050", VA = "0x1825C4250")]
internal static ClientActivatedIdentity CreateContextBoundObjectIdentity(Type objectType)
{
return null;
}
// Token: 0x0600276F RID: 10095 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600276F")]
[Address(RVA = "0x25C3CB0", Offset = "0x25C2AB0", VA = "0x1825C3CB0")]
internal static ClientActivatedIdentity CreateClientActivatedServerIdentity(MarshalByRefObject realObject, Type objectType, string objectUri)
{
return null;
}
// Token: 0x06002770 RID: 10096 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002770")]
[Address(RVA = "0x25C4330", Offset = "0x25C3130", VA = "0x1825C4330")]
internal static ServerIdentity CreateWellKnownServerIdentity(Type objectType, string objectUri, WellKnownObjectMode mode)
{
return null;
}
// Token: 0x06002771 RID: 10097 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002771")]
[Address(RVA = "0x25C6DA0", Offset = "0x25C5BA0", VA = "0x1825C6DA0")]
private static void RegisterServerIdentity(ServerIdentity identity)
{
}
// Token: 0x06002772 RID: 10098 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002772")]
[Address(RVA = "0x25C5DB0", Offset = "0x25C4BB0", VA = "0x1825C5DB0")]
internal static object GetProxyForRemoteObject(ObjRef objref, Type classToProxy)
{
return null;
}
// Token: 0x06002773 RID: 10099 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002773")]
[Address(RVA = "0x25C5F10", Offset = "0x25C4D10", VA = "0x1825C5F10")]
internal static object GetRemoteObject(ObjRef objRef, Type proxyType)
{
return null;
}
// Token: 0x06002774 RID: 10100 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002774")]
[Address(RVA = "0x25C70A0", Offset = "0x25C5EA0", VA = "0x1825C70A0")]
internal static byte[] SerializeCallData(object obj)
{
return null;
}
// Token: 0x06002775 RID: 10101 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002775")]
[Address(RVA = "0x25C4430", Offset = "0x25C3230", VA = "0x1825C4430")]
internal static object DeserializeCallData(byte[] array)
{
return null;
}
// Token: 0x06002776 RID: 10102 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002776")]
[Address(RVA = "0x25C71F0", Offset = "0x25C5FF0", VA = "0x1825C71F0")]
internal static byte[] SerializeExceptionData(Exception ex)
{
return null;
}
// Token: 0x06002777 RID: 10103 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002777")]
[Address(RVA = "0x25C4A50", Offset = "0x25C3850", VA = "0x1825C4A50")]
internal static object GetDomainProxy(AppDomain domain)
{
return null;
}
// Token: 0x06002778 RID: 10104 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002778")]
[Address(RVA = "0x25C6D50", Offset = "0x25C5B50", VA = "0x1825C6D50")]
private static void RegisterInternalChannels()
{
}
// Token: 0x06002779 RID: 10105 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002779")]
[Address(RVA = "0x25C4600", Offset = "0x25C3400", VA = "0x1825C4600")]
internal static void DisposeIdentity(Identity ident)
{
}
// Token: 0x0600277A RID: 10106 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600277A")]
[Address(RVA = "0x25C5090", Offset = "0x25C3E90", VA = "0x1825C5090")]
internal static Identity GetMessageTargetIdentity(IMessage msg)
{
return null;
}
// Token: 0x0600277B RID: 10107 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600277B")]
[Address(RVA = "0x25C72F0", Offset = "0x25C60F0", VA = "0x1825C72F0")]
internal static void SetMessageTargetIdentity(IMessage msg, Identity ident)
{
}
// Token: 0x0600277C RID: 10108 RVA: 0x00016128 File Offset: 0x00014328
[Token(Token = "0x600277C")]
[Address(RVA = "0x25C77A0", Offset = "0x25C65A0", VA = "0x1825C77A0")]
internal static bool UpdateOutArgObject(ParameterInfo pi, object local, object remote)
{
return default(bool);
}
// Token: 0x0600277D RID: 10109 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600277D")]
[Address(RVA = "0x25C5780", Offset = "0x25C4580", VA = "0x1825C5780")]
private static string GetNormalizedUri(string uri)
{
return null;
}
// Token: 0x04001738 RID: 5944
[Token(Token = "0x4001738")]
private static Hashtable uri_hash;
// Token: 0x04001739 RID: 5945
[Token(Token = "0x4001739")]
private static BinaryFormatter _serializationFormatter;
// Token: 0x0400173A RID: 5946
[Token(Token = "0x400173A")]
private static BinaryFormatter _deserializationFormatter;
// Token: 0x0400173B RID: 5947
[Token(Token = "0x400173B")]
private static string app_id;
// Token: 0x0400173C RID: 5948
[Token(Token = "0x400173C")]
private static readonly object app_id_lock;
// Token: 0x0400173D RID: 5949
[Token(Token = "0x400173D")]
private static int next_id;
// Token: 0x0400173E RID: 5950
[Token(Token = "0x400173E")]
private static readonly MethodInfo FieldSetterMethod;
// Token: 0x0400173F RID: 5951
[Token(Token = "0x400173F")]
private static readonly MethodInfo FieldGetterMethod;
// Token: 0x020004B1 RID: 1201
[Token(Token = "0x20004B1")]
[Serializable]
private class CACD
{
// Token: 0x0600277E RID: 10110 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600277E")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public CACD()
{
}
// Token: 0x04001740 RID: 5952
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001740")]
public object d;
// Token: 0x04001741 RID: 5953
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001741")]
public object c;
}
}
}