UtilExplorerBlockTaskManager Method
Prevents any attempt for the current user from reading and running the 'taskmgr.exe' file
and any defined hijack in the system (if any).
Note that the file blocking is not permanent.
This function will return a
FileStream Array that contains the 'taskmgr.exe' file stream(s)
opened with
Read access and
None sharing.
So in order to unblock the access to the file(s), just dispose the opened stream(s) or terminate the calling aplication.
Namespace: DevCase.Core.Windows.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static FileStream[] BlockTaskManager()
Public Shared Function BlockTaskManager As FileStream()
Dim returnValue As FileStream()
returnValue = UtilExplorer.BlockTaskManager()
public:
static array<FileStream^>^ BlockTaskManager()
static member BlockTaskManager : unit -> FileStream[]
No code example is currently available or this language may not be supported.
Return Value
FileStream
A
FileStream Array that contains the 'taskmgr.exe' file stream(s)
opened with
Read access and
None sharing.
This is a code example.
No code example is currently available or this language may not be supported.
Dim tskmgrFiles As FileStream() = BlockWindowsTaskManager()
For Each fs As FileStream In tskmgrFiles
Debug.WriteLine(fs.Name)
' fs.Close() ' Call this to unblock file access.
Next fs
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.