This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,47 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Channels
{
/// <summary>Indicates that the implementing channel wants to hook into the outside listener service.</summary>
// Token: 0x020003A2 RID: 930
[ComVisible(true)]
public interface IChannelReceiverHook
{
/// <summary>Gets the type of listener to hook into.</summary>
/// <returns>The type of listener to hook into (for example, "http").</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Infrastructure" />
/// </PermissionSet>
// Token: 0x17000704 RID: 1796
// (get) Token: 0x060025A5 RID: 9637
string ChannelScheme { get; }
/// <summary>Gets the channel sink chain that the current channel is using.</summary>
/// <returns>The channel sink chain that the current channel is using.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Infrastructure" />
/// </PermissionSet>
// Token: 0x17000705 RID: 1797
// (get) Token: 0x060025A6 RID: 9638
IServerChannelSink ChannelSinkChain { get; }
/// <summary>Gets a Boolean value that indicates whether <see cref="T:System.Runtime.Remoting.Channels.IChannelReceiverHook" /> needs to be hooked into the outside listener service.</summary>
/// <returns>A Boolean value that indicates whether <see cref="T:System.Runtime.Remoting.Channels.IChannelReceiverHook" /> needs to be hooked into the outside listener service.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
/// <PermissionSet>
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Infrastructure" />
/// </PermissionSet>
// Token: 0x17000706 RID: 1798
// (get) Token: 0x060025A7 RID: 9639
bool WantsToListen { get; }
/// <summary>Adds a URI on which the channel hook will listen.</summary>
/// <param name="channelUri">A URI on which the channel hook will listen. </param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
// Token: 0x060025A8 RID: 9640
void AddHookChannelUri(string channelUri);
}
}