41 lines
1.3 KiB
C#
41 lines
1.3 KiB
C#
using System;
|
|
using System.Reflection;
|
|
using UnityEngine.Internal;
|
|
|
|
namespace UnityEngine
|
|
{
|
|
// Token: 0x020000B0 RID: 176
|
|
public sealed class Security
|
|
{
|
|
// Token: 0x06000D23 RID: 3363 RVA: 0x00012540 File Offset: 0x00010740
|
|
[Obsolete("Security.PrefetchSocketPolicy is no longer supported, since the Unity Web Player is no longer supported by Unity.")]
|
|
[ExcludeFromDocs]
|
|
public static bool PrefetchSocketPolicy(string ip, int atPort)
|
|
{
|
|
int num = 3000;
|
|
return Security.PrefetchSocketPolicy(ip, atPort, num);
|
|
}
|
|
|
|
// Token: 0x06000D24 RID: 3364 RVA: 0x00012564 File Offset: 0x00010764
|
|
[Obsolete("Security.PrefetchSocketPolicy is no longer supported, since the Unity Web Player is no longer supported by Unity.")]
|
|
public static bool PrefetchSocketPolicy(string ip, int atPort, [DefaultValue("3000")] int timeout)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x06000D25 RID: 3365 RVA: 0x0001257C File Offset: 0x0001077C
|
|
[Obsolete("This was an internal method which is no longer used", true)]
|
|
public static Assembly LoadAndVerifyAssembly(byte[] assemblyData, string authorizationKey)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000D26 RID: 3366 RVA: 0x00012594 File Offset: 0x00010794
|
|
[Obsolete("This was an internal method which is no longer used", true)]
|
|
public static Assembly LoadAndVerifyAssembly(byte[] assemblyData)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|