Files
Aug2021-Cpp2IL-Dump/mscorlib/System/Security/SecurityManager.cs
T
2026-04-10 22:50:51 +02:00

47 lines
1.6 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security
{
/// <summary>Provides the main access point for classes interacting with the security system. This class cannot be inherited.</summary>
// Token: 0x020003AB RID: 939
[Token(Token = "0x20003AB")]
[ComVisible(true)]
public static class SecurityManager
{
/// <summary>Gets or sets a value indicating whether security is enabled.</summary>
/// <returns>
/// <see langword="true" /> if security is enabled; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.Security.SecurityException">The code that calls this method does not have <see cref="F:System.Security.Permissions.SecurityPermissionFlag.ControlPolicy" />.</exception>
// Token: 0x17000461 RID: 1121
// (get) Token: 0x06002087 RID: 8327 RVA: 0x00014208 File Offset: 0x00012408
[Token(Token = "0x17000461")]
[Obsolete]
public static bool SecurityEnabled
{
[Token(Token = "0x6002087")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
get
{
return default(bool);
}
}
// Token: 0x06002088 RID: 8328 RVA: 0x00014220 File Offset: 0x00012420
[Token(Token = "0x6002088")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40")]
internal static bool CheckElevatedPermissions()
{
return default(bool);
}
// Token: 0x06002089 RID: 8329 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002089")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
internal static void EnsureElevatedPermissions()
{
}
}
}