UtilDebugSanboxingEnableAntiSandboxProtection Method
Enables Anti-Sandbox environment protection for the current application.
This Anti-Sandbox environment protection supports only these Sandbox environments:
• Sandboxie
Namespace: DevCase.Core.Diagnostics.Debugging.SandBoxAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void EnableAntiSandboxProtection(
Action callback
)
Public Shared Sub EnableAntiSandboxProtection (
callback As Action
)
Dim callback As Action
UtilDebugSanboxing.EnableAntiSandboxProtection(callback)
public:
static void EnableAntiSandboxProtection(
Action^ callback
)
static member EnableAntiSandboxProtection :
callback : Action -> unit
No code example is currently available or this language may not be supported.
Parameters
- callback Action
-
An encapsulated method that will be invoked if a Sandbox environment is detected.
Normally it should be a method containing instructions to terminate the current application.
This is a code example.
No code example is currently available or this language may not be supported.
Dim antiSandboxCallback As Action =
Sub()
Environment.FailFast("Sandbox environment detected.")
End Sub
UtilDebugSanboxing.EnableAntiSandboxProtection(antiSandboxCallback)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.