Determines whether the code running is secure. This is achieved by checking the call stack. If all the assemblies in the call stack are trusted, then the code is secure. If an MThread is running, then that is checked too, to ensure it was created from a secure context.

Namespace: TMD
Assembly: Driver (in Driver.exe) Version: 1.0.0.0

Syntax

C#
public static bool Secure()

Return Value

true if the call stack is secure; otherwise, false.

See Also