SEB-Patcher/SEBPatcher.Monitoring/patch_RemoteSessionDetector.cs
2024-10-14 21:35:33 +02:00

25 lines
870 B
C#

using System;
using MonoMod;
using SafeExamBrowser.Logging.Contracts;
namespace SafeExamBrowser.Monitoring
{
#pragma warning disable IDE1006 // Naming Styles
public class patch_RemoteSessionDetector : RemoteSessionDetector
#pragma warning restore IDE1006 // Naming Styles
{
[MonoModIgnore] public patch_RemoteSessionDetector(ILogger logger) : base(logger) { }
#pragma warning disable IDE1006 // Naming Styles
[MonoModOriginal] public extern bool orig_IsRemoteSession();
#pragma warning restore IDE1006 // Naming Styles
#pragma warning disable CS0108 // Member hides inherited member; missing new keyword
public bool IsRemoteSession()
#pragma warning restore CS0108 // Member hides inherited member; missing new keyword
{
bool isRemoteSession = orig_IsRemoteSession();
return false;
}
}
}