231 lines
10 KiB
C#
231 lines
10 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Remoting
|
|
{
|
|
/// <summary>Provides various static methods for configuring the remoting infrastructure.</summary>
|
|
// Token: 0x020004C6 RID: 1222
|
|
[Token(Token = "0x20004C6")]
|
|
[ComVisible(true)]
|
|
public static class RemotingConfiguration
|
|
{
|
|
/// <summary>Gets or sets the name of a remoting application.</summary>
|
|
/// <returns>The name of a remoting application.</returns>
|
|
/// <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. This exception is thrown only when setting the property value.</exception>
|
|
// Token: 0x170005E1 RID: 1505
|
|
// (get) Token: 0x0600292A RID: 10538 RVA: 0x00002082 File Offset: 0x00000282
|
|
// (set) Token: 0x0600292B RID: 10539 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170005E1")]
|
|
public static string ApplicationName
|
|
{
|
|
[Token(Token = "0x600292A")]
|
|
[Address(RVA = "0x2C0B7F0", Offset = "0x2C0A7F0", VA = "0x182C0B7F0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x600292B")]
|
|
[Address(RVA = "0x2C0B930", Offset = "0x2C0A930", VA = "0x182C0B930")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the ID of the currently executing process.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the ID of the currently executing process.</returns>
|
|
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
|
|
// Token: 0x170005E2 RID: 1506
|
|
// (get) Token: 0x0600292C RID: 10540 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170005E2")]
|
|
public static string ProcessId
|
|
{
|
|
[Token(Token = "0x600292C")]
|
|
[Address(RVA = "0x2C0B850", Offset = "0x2C0A850", VA = "0x182C0B850")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600292D RID: 10541 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600292D")]
|
|
[Address(RVA = "0x2C09D30", Offset = "0x2C08D30", VA = "0x182C09D30")]
|
|
internal static void LoadDefaultDelayedChannels()
|
|
{
|
|
}
|
|
|
|
/// <summary>Checks whether the specified object <see cref="T:System.Type" /> is registered as a remotely activated client type.</summary>
|
|
/// <param name="svrType">The object type to check.</param>
|
|
/// <returns>The <see cref="T:System.Runtime.Remoting.ActivatedClientTypeEntry" /> that corresponds to the specified object type.</returns>
|
|
/// <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: 0x0600292E RID: 10542 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600292E")]
|
|
[Address(RVA = "0x2C09A10", Offset = "0x2C08A10", VA = "0x182C09A10")]
|
|
public static ActivatedClientTypeEntry IsRemotelyActivatedClientType(Type svrType)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Checks whether the specified object <see cref="T:System.Type" /> is registered as a well-known client type.</summary>
|
|
/// <param name="svrType">The object <see cref="T:System.Type" /> to check.</param>
|
|
/// <returns>The <see cref="T:System.Runtime.Remoting.WellKnownClientTypeEntry" /> that corresponds to the specified object type.</returns>
|
|
/// <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: 0x0600292F RID: 10543 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600292F")]
|
|
[Address(RVA = "0x2C09BA0", Offset = "0x2C08BA0", VA = "0x182C09BA0")]
|
|
public static WellKnownClientTypeEntry IsWellKnownClientType(Type svrType)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Registers an object <see cref="T:System.Type" /> recorded in the provided <see cref="T:System.Runtime.Remoting.ActivatedClientTypeEntry" /> on the client end as a type that can be activated on the server.</summary>
|
|
/// <param name="entry">Configuration settings for the client-activated type.</param>
|
|
/// <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: 0x06002930 RID: 10544 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002930")]
|
|
[Address(RVA = "0x2C0A010", Offset = "0x2C09010", VA = "0x182C0A010")]
|
|
public static void RegisterActivatedClientType(ActivatedClientTypeEntry entry)
|
|
{
|
|
}
|
|
|
|
/// <summary>Registers an object type recorded in the provided <see cref="T:System.Runtime.Remoting.ActivatedServiceTypeEntry" /> on the service end as one that can be activated on request from a client.</summary>
|
|
/// <param name="entry">Configuration settings for the client-activated type.</param>
|
|
/// <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: 0x06002931 RID: 10545 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002931")]
|
|
[Address(RVA = "0x2C0A290", Offset = "0x2C09290", VA = "0x182C0A290")]
|
|
public static void RegisterActivatedServiceType(ActivatedServiceTypeEntry entry)
|
|
{
|
|
}
|
|
|
|
/// <summary>Registers an object <see cref="T:System.Type" /> recorded in the provided <see cref="T:System.Runtime.Remoting.WellKnownClientTypeEntry" /> on the client end as a well-known type that can be activated on the server.</summary>
|
|
/// <param name="entry">Configuration settings for the well-known type.</param>
|
|
/// <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: 0x06002932 RID: 10546 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002932")]
|
|
[Address(RVA = "0x2C0B0F0", Offset = "0x2C0A0F0", VA = "0x182C0B0F0")]
|
|
public static void RegisterWellKnownClientType(WellKnownClientTypeEntry entry)
|
|
{
|
|
}
|
|
|
|
/// <summary>Registers an object <see cref="T:System.Type" /> recorded in the provided <see cref="T:System.Runtime.Remoting.WellKnownServiceTypeEntry" /> on the service end as a well-known type.</summary>
|
|
/// <param name="entry">Configuration settings for the well-known type.</param>
|
|
/// <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: 0x06002933 RID: 10547 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002933")]
|
|
[Address(RVA = "0x2C0B370", Offset = "0x2C0A370", VA = "0x182C0B370")]
|
|
public static void RegisterWellKnownServiceType(WellKnownServiceTypeEntry entry)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002934 RID: 10548 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002934")]
|
|
[Address(RVA = "0x2C0A3D0", Offset = "0x2C093D0", VA = "0x182C0A3D0")]
|
|
internal static void RegisterChannelTemplate(ChannelData channel)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002935 RID: 10549 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002935")]
|
|
[Address(RVA = "0x2C0ABA0", Offset = "0x2C09BA0", VA = "0x182C0ABA0")]
|
|
internal static void RegisterClientProviderTemplate(ProviderData prov)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002936 RID: 10550 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002936")]
|
|
[Address(RVA = "0x2C0AC30", Offset = "0x2C09C30", VA = "0x182C0AC30")]
|
|
internal static void RegisterServerProviderTemplate(ProviderData prov)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002937 RID: 10551 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002937")]
|
|
[Address(RVA = "0x2C0A460", Offset = "0x2C09460", VA = "0x182C0A460")]
|
|
internal static void RegisterChannels(ArrayList channels, bool onlyDelayed)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002938 RID: 10552 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002938")]
|
|
[Address(RVA = "0x2C0ACC0", Offset = "0x2C09CC0", VA = "0x182C0ACC0")]
|
|
internal static void RegisterTypes(ArrayList types)
|
|
{
|
|
}
|
|
|
|
/// <summary>Indicates whether the server channels in this application domain return filtered or complete exception information to local or remote callers.</summary>
|
|
/// <param name="isLocalRequest">
|
|
/// <see langword="true" /> to specify local callers; <see langword="false" /> to specify remote callers.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if only filtered exception information is returned to local or remote callers, as specified by the <paramref name="isLocalRequest" /> parameter; <see langword="false" /> if complete exception information is returned.</returns>
|
|
// Token: 0x06002939 RID: 10553 RVA: 0x00018480 File Offset: 0x00016680
|
|
[Token(Token = "0x6002939")]
|
|
[Address(RVA = "0x2C09940", Offset = "0x2C08940", VA = "0x182C09940")]
|
|
public static bool CustomErrorsEnabled(bool isLocalRequest)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0600293A RID: 10554 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600293A")]
|
|
[Address(RVA = "0x2C0B500", Offset = "0x2C0A500", VA = "0x182C0B500")]
|
|
internal static void SetCustomErrorsMode(string mode)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040017DA RID: 6106
|
|
[Token(Token = "0x40017DA")]
|
|
private static string applicationID;
|
|
|
|
// Token: 0x040017DB RID: 6107
|
|
[Token(Token = "0x40017DB")]
|
|
private static string applicationName;
|
|
|
|
// Token: 0x040017DC RID: 6108
|
|
[Token(Token = "0x40017DC")]
|
|
private static string processGuid;
|
|
|
|
// Token: 0x040017DD RID: 6109
|
|
[Token(Token = "0x40017DD")]
|
|
private static bool defaultConfigRead;
|
|
|
|
// Token: 0x040017DE RID: 6110
|
|
[Token(Token = "0x40017DE")]
|
|
private static bool defaultDelayedConfigRead;
|
|
|
|
// Token: 0x040017DF RID: 6111
|
|
[Token(Token = "0x40017DF")]
|
|
private static string _errorMode;
|
|
|
|
// Token: 0x040017E0 RID: 6112
|
|
[Token(Token = "0x40017E0")]
|
|
private static Hashtable wellKnownClientEntries;
|
|
|
|
// Token: 0x040017E1 RID: 6113
|
|
[Token(Token = "0x40017E1")]
|
|
private static Hashtable activatedClientEntries;
|
|
|
|
// Token: 0x040017E2 RID: 6114
|
|
[Token(Token = "0x40017E2")]
|
|
private static Hashtable wellKnownServiceEntries;
|
|
|
|
// Token: 0x040017E3 RID: 6115
|
|
[Token(Token = "0x40017E3")]
|
|
private static Hashtable activatedServiceEntries;
|
|
|
|
// Token: 0x040017E4 RID: 6116
|
|
[Token(Token = "0x40017E4")]
|
|
private static Hashtable channelTemplates;
|
|
|
|
// Token: 0x040017E5 RID: 6117
|
|
[Token(Token = "0x40017E5")]
|
|
private static Hashtable clientProviderTemplates;
|
|
|
|
// Token: 0x040017E6 RID: 6118
|
|
[Token(Token = "0x40017E6")]
|
|
private static Hashtable serverProviderTemplates;
|
|
}
|
|
}
|