154 lines
6.9 KiB
C#
154 lines
6.9 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Remoting.Contexts;
|
|
using System.Runtime.Remoting.Messaging;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Remoting.Channels
|
|
{
|
|
/// <summary>Provides static methods to aid with remoting channel registration, resolution, and URL discovery. This class cannot be inherited.</summary>
|
|
// Token: 0x020004F8 RID: 1272
|
|
[Token(Token = "0x20004F8")]
|
|
[ComVisible(true)]
|
|
public sealed class ChannelServices
|
|
{
|
|
// Token: 0x1700060F RID: 1551
|
|
// (get) Token: 0x06002A60 RID: 10848 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700060F")]
|
|
internal static CrossContextChannel CrossContextChannel
|
|
{
|
|
[Token(Token = "0x6002A60")]
|
|
[Address(RVA = "0x2CEC230", Offset = "0x2CEB230", VA = "0x182CEC230")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002A61 RID: 10849 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002A61")]
|
|
[Address(RVA = "0x2CEA2B0", Offset = "0x2CE92B0", VA = "0x182CEA2B0")]
|
|
internal static IMessageSink CreateClientChannelSinkChain(string url, object remoteChannelData, out string objectUri)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06002A62 RID: 10850 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002A62")]
|
|
[Address(RVA = "0x2CEA1A0", Offset = "0x2CE91A0", VA = "0x182CEA1A0")]
|
|
internal static IMessageSink CreateClientChannelSinkChain(IChannelSender sender, string url, object[] channelDataArray, out string objectUri)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Registers a channel with the channel services. <see cref="M:System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(System.Runtime.Remoting.Channels.IChannel)" /> is obsolete. Please use <see cref="M:System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(System.Runtime.Remoting.Channels.IChannel,System.Boolean)" /> instead.</summary>
|
|
/// <param name="chnl">The channel to register.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="chnl" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.Runtime.Remoting.RemotingException">The channel has already been registered.</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: 0x06002A63 RID: 10851 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002A63")]
|
|
[Address(RVA = "0x2CEB970", Offset = "0x2CEA970", VA = "0x182CEB970")]
|
|
[Obsolete]
|
|
public static void RegisterChannel(IChannel chnl)
|
|
{
|
|
}
|
|
|
|
/// <summary>Registers a channel with the channel services.</summary>
|
|
/// <param name="chnl">The channel to register.</param>
|
|
/// <param name="ensureSecurity">
|
|
/// <see langword="true" /> ensures that security is enabled; otherwise <see langword="false" />. Setting the value to <see langword="false" /> does not effect the security setting on the TCP or IPC channel.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="chnl" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.Runtime.Remoting.RemotingException">The channel has already been registered.</exception>
|
|
/// <exception cref="T:System.Security.SecurityException">At least one of the callers higher in the call stack does not have permission to configure remoting types and channels.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">Not supported in Windows 98 for <see cref="T:System.Runtime.Remoting.Channels.Tcp.TcpServerChannel" /> and on all platforms for <see cref="T:System.Runtime.Remoting.Channels.Http.HttpServerChannel" />. Host the service using Internet Information Services (IIS) if you require a secure HTTP channel.</exception>
|
|
// Token: 0x06002A64 RID: 10852 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002A64")]
|
|
[Address(RVA = "0x2CEB9D0", Offset = "0x2CEA9D0", VA = "0x182CEB9D0")]
|
|
public static void RegisterChannel(IChannel chnl, bool ensureSecurity)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002A65 RID: 10853 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002A65")]
|
|
[Address(RVA = "0x2CEAE80", Offset = "0x2CE9E80", VA = "0x182CEAE80")]
|
|
internal static void RegisterChannelConfig(ChannelData channel)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002A66 RID: 10854 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002A66")]
|
|
[Address(RVA = "0x2CEA840", Offset = "0x2CE9840", VA = "0x182CEA840")]
|
|
private static object CreateProvider(ProviderData prov)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Synchronously dispatches the incoming message to the server-side chain(s) based on the URI embedded in the message.</summary>
|
|
/// <param name="msg">The message to dispatch.</param>
|
|
/// <returns>A reply message is returned by the call to the server-side chain.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="msg" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
|
|
// Token: 0x06002A67 RID: 10855 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002A67")]
|
|
[Address(RVA = "0x2CEBFB0", Offset = "0x2CEAFB0", VA = "0x182CEBFB0")]
|
|
public static IMessage SyncDispatchMessage(IMessage msg)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06002A68 RID: 10856 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002A68")]
|
|
[Address(RVA = "0x2CE9E90", Offset = "0x2CE8E90", VA = "0x182CE9E90")]
|
|
private static ReturnMessage CheckIncomingMessage(IMessage msg)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06002A69 RID: 10857 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002A69")]
|
|
[Address(RVA = "0x2CEA060", Offset = "0x2CE9060", VA = "0x182CEA060")]
|
|
internal static IMessage CheckReturnMessage(IMessage callMsg, IMessage retMsg)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06002A6A RID: 10858 RVA: 0x00018798 File Offset: 0x00016998
|
|
[Token(Token = "0x6002A6A")]
|
|
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0")]
|
|
private static bool IsLocalCall(IMessage callMsg)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06002A6B RID: 10859 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002A6B")]
|
|
[Address(RVA = "0x2CEAB80", Offset = "0x2CE9B80", VA = "0x182CEAB80")]
|
|
internal static object[] GetCurrentChannelInfo()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0400185E RID: 6238
|
|
[Token(Token = "0x400185E")]
|
|
private static ArrayList registeredChannels;
|
|
|
|
// Token: 0x0400185F RID: 6239
|
|
[Token(Token = "0x400185F")]
|
|
private static ArrayList delayedClientChannels;
|
|
|
|
// Token: 0x04001860 RID: 6240
|
|
[Token(Token = "0x4001860")]
|
|
private static CrossContextChannel _crossContextSink;
|
|
|
|
// Token: 0x04001861 RID: 6241
|
|
[Token(Token = "0x4001861")]
|
|
internal static string CrossContextUrl;
|
|
|
|
// Token: 0x04001862 RID: 6242
|
|
[Token(Token = "0x4001862")]
|
|
private static IList oldStartModeTypes;
|
|
}
|
|
}
|