47 lines
1.6 KiB
C#
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: 0x020003C7 RID: 967
|
|
[Token(Token = "0x20003C7")]
|
|
[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: 0x170004D8 RID: 1240
|
|
// (get) Token: 0x06002293 RID: 8851 RVA: 0x000165D8 File Offset: 0x000147D8
|
|
[Token(Token = "0x170004D8")]
|
|
[Obsolete]
|
|
public static bool SecurityEnabled
|
|
{
|
|
[Token(Token = "0x6002293")]
|
|
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002294 RID: 8852 RVA: 0x000165F0 File Offset: 0x000147F0
|
|
[Token(Token = "0x6002294")]
|
|
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0")]
|
|
internal static bool CheckElevatedPermissions()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06002295 RID: 8853 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002295")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
|
internal static void EnsureElevatedPermissions()
|
|
{
|
|
}
|
|
}
|
|
}
|