Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

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: 0x020004DC RID: 1244
[Token(Token = "0x20004DC")]
[ComVisible(true)]
public sealed class ChannelServices
{
// Token: 0x17000597 RID: 1431
// (get) Token: 0x06002853 RID: 10323 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000597")]
internal static CrossContextChannel CrossContextChannel
{
[Token(Token = "0x6002853")]
[Address(RVA = "0x236FC30", Offset = "0x236EA30", VA = "0x18236FC30")]
get
{
return null;
}
}
// Token: 0x06002854 RID: 10324 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002854")]
[Address(RVA = "0x236DD10", Offset = "0x236CB10", VA = "0x18236DD10")]
internal static IMessageSink CreateClientChannelSinkChain(string url, object remoteChannelData, out string objectUri)
{
return null;
}
// Token: 0x06002855 RID: 10325 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002855")]
[Address(RVA = "0x236DC00", Offset = "0x236CA00", VA = "0x18236DC00")]
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: 0x06002856 RID: 10326 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002856")]
[Address(RVA = "0x236F3D0", Offset = "0x236E1D0", VA = "0x18236F3D0")]
[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: 0x06002857 RID: 10327 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002857")]
[Address(RVA = "0x236F430", Offset = "0x236E230", VA = "0x18236F430")]
public static void RegisterChannel(IChannel chnl, bool ensureSecurity)
{
}
// Token: 0x06002858 RID: 10328 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002858")]
[Address(RVA = "0x236E8E0", Offset = "0x236D6E0", VA = "0x18236E8E0")]
internal static void RegisterChannelConfig(ChannelData channel)
{
}
// Token: 0x06002859 RID: 10329 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002859")]
[Address(RVA = "0x236E2A0", Offset = "0x236D0A0", VA = "0x18236E2A0")]
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: 0x0600285A RID: 10330 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600285A")]
[Address(RVA = "0x236F9B0", Offset = "0x236E7B0", VA = "0x18236F9B0")]
public static IMessage SyncDispatchMessage(IMessage msg)
{
return null;
}
// Token: 0x0600285B RID: 10331 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600285B")]
[Address(RVA = "0x236D8F0", Offset = "0x236C6F0", VA = "0x18236D8F0")]
private static ReturnMessage CheckIncomingMessage(IMessage msg)
{
return null;
}
// Token: 0x0600285C RID: 10332 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600285C")]
[Address(RVA = "0x236DAC0", Offset = "0x236C8C0", VA = "0x18236DAC0")]
internal static IMessage CheckReturnMessage(IMessage callMsg, IMessage retMsg)
{
return null;
}
// Token: 0x0600285D RID: 10333 RVA: 0x000163C8 File Offset: 0x000145C8
[Token(Token = "0x600285D")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40")]
private static bool IsLocalCall(IMessage callMsg)
{
return default(bool);
}
// Token: 0x0600285E RID: 10334 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600285E")]
[Address(RVA = "0x236E5E0", Offset = "0x236D3E0", VA = "0x18236E5E0")]
internal static object[] GetCurrentChannelInfo()
{
return null;
}
// Token: 0x0400179B RID: 6043
[Token(Token = "0x400179B")]
private static ArrayList registeredChannels;
// Token: 0x0400179C RID: 6044
[Token(Token = "0x400179C")]
private static ArrayList delayedClientChannels;
// Token: 0x0400179D RID: 6045
[Token(Token = "0x400179D")]
private static CrossContextChannel _crossContextSink;
// Token: 0x0400179E RID: 6046
[Token(Token = "0x400179E")]
internal static string CrossContextUrl;
// Token: 0x0400179F RID: 6047
[Token(Token = "0x400179F")]
private static IList oldStartModeTypes;
}
}