Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

129 lines
5.2 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Remoting.Lifetime
{
/// <summary>Controls the.NET remoting lifetime services.</summary>
// Token: 0x020004E7 RID: 1255
[Token(Token = "0x20004E7")]
[ComVisible(true)]
public sealed class LifetimeServices
{
/// <summary>Gets or sets the time interval between each activation of the lease manager to clean up expired leases.</summary>
/// <returns>The default amount of time the lease manager sleeps after checking for expired leases.</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: 0x170005FF RID: 1535
// (get) Token: 0x06002A13 RID: 10771 RVA: 0x00018618 File Offset: 0x00016818
// (set) Token: 0x06002A14 RID: 10772 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170005FF")]
public static TimeSpan LeaseManagerPollTime
{
[Token(Token = "0x6002A13")]
[Address(RVA = "0x2C010A0", Offset = "0x2C000A0", VA = "0x182C010A0")]
get
{
return default(TimeSpan);
}
[Token(Token = "0x6002A14")]
[Address(RVA = "0x2C01220", Offset = "0x2C00220", VA = "0x182C01220")]
set
{
}
}
/// <summary>Gets or sets the initial lease time span for an <see cref="T:System.AppDomain" />.</summary>
/// <returns>The initial lease <see cref="T:System.TimeSpan" /> for objects that can have leases in the <see cref="T:System.AppDomain" />.</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: 0x17000600 RID: 1536
// (get) Token: 0x06002A15 RID: 10773 RVA: 0x00018630 File Offset: 0x00016830
// (set) Token: 0x06002A16 RID: 10774 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000600")]
public static TimeSpan LeaseTime
{
[Token(Token = "0x6002A15")]
[Address(RVA = "0x2C01100", Offset = "0x2C00100", VA = "0x182C01100")]
get
{
return default(TimeSpan);
}
[Token(Token = "0x6002A16")]
[Address(RVA = "0x2C012B0", Offset = "0x2C002B0", VA = "0x182C012B0")]
set
{
}
}
/// <summary>Gets or sets the amount of time by which the lease is extended every time a call comes in on the server object.</summary>
/// <returns>The <see cref="T:System.TimeSpan" /> by which a lifetime lease in the current <see cref="T:System.AppDomain" /> is extended after each call.</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: 0x17000601 RID: 1537
// (get) Token: 0x06002A17 RID: 10775 RVA: 0x00018648 File Offset: 0x00016848
// (set) Token: 0x06002A18 RID: 10776 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000601")]
public static TimeSpan RenewOnCallTime
{
[Token(Token = "0x6002A17")]
[Address(RVA = "0x2C01160", Offset = "0x2C00160", VA = "0x182C01160")]
get
{
return default(TimeSpan);
}
[Token(Token = "0x6002A18")]
[Address(RVA = "0x2C01370", Offset = "0x2C00370", VA = "0x182C01370")]
set
{
}
}
/// <summary>Gets or sets the amount of time the lease manager waits for a sponsor to return with a lease renewal time.</summary>
/// <returns>The initial sponsorship time-out.</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: 0x17000602 RID: 1538
// (get) Token: 0x06002A19 RID: 10777 RVA: 0x00018660 File Offset: 0x00016860
// (set) Token: 0x06002A1A RID: 10778 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000602")]
public static TimeSpan SponsorshipTimeout
{
[Token(Token = "0x6002A19")]
[Address(RVA = "0x2C011C0", Offset = "0x2C001C0", VA = "0x182C011C0")]
get
{
return default(TimeSpan);
}
[Token(Token = "0x6002A1A")]
[Address(RVA = "0x2C01430", Offset = "0x2C00430", VA = "0x182C01430")]
set
{
}
}
// Token: 0x06002A1B RID: 10779 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A1B")]
[Address(RVA = "0x2C00EE0", Offset = "0x2BFFEE0", VA = "0x182C00EE0")]
internal static void TrackLifetime(ServerIdentity identity)
{
}
// Token: 0x04001844 RID: 6212
[Token(Token = "0x4001844")]
private static TimeSpan _leaseManagerPollTime;
// Token: 0x04001845 RID: 6213
[Token(Token = "0x4001845")]
private static TimeSpan _leaseTime;
// Token: 0x04001846 RID: 6214
[Token(Token = "0x4001846")]
private static TimeSpan _renewOnCallTime;
// Token: 0x04001847 RID: 6215
[Token(Token = "0x4001847")]
private static TimeSpan _sponsorshipTimeout;
// Token: 0x04001848 RID: 6216
[Token(Token = "0x4001848")]
private static LeaseManager _leaseManager;
}
}