I found this method when making my hvnc module as I wanted to hide multiple windows that popup.
This is very simple and I will be showing how to fully implement this, as you can use this to hide anything from task managers UI to web browsers that you don't have access to. This can be very useful for blocking certain apps from showing their UI and should be used only for Educational Purposes.
Lets begin, first you need these references.
Now here is how to hide process that are running
Here is some examples for how to call the code correctly.
This loop method is very crude but it does work and doesn't lag at all, even on a 2 core rdp with only 4gb of ram!
Anyways this is a full tutorial on how to paste a working hide method. Hope you learn something from this!
Depending on the feedback I receive I will be creating more content!
This is very simple and I will be showing how to fully implement this, as you can use this to hide anything from task managers UI to web browsers that you don't have access to. This can be very useful for blocking certain apps from showing their UI and should be used only for Educational Purposes.
Lets begin, first you need these references.
Code
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;Now here is how to hide process that are running
Code
[DllImport("User32.dll")]
private static extern int ShowWindow(int hwnd, int nCmdShow);
public static void Hide(string processName)
{
try
{
int hWnd;
Process[] processRunning = Process.GetProcesses();
foreach (Process pr in processRunning)
{
if (pr.ProcessName == processName)
{
hWnd = pr.MainWindowHandle.ToInt32();
ShowWindow(hWnd, 0);
}
}
}
catch(Exception)
{
}
}Here is some examples for how to call the code correctly.
Code
Hide("explorer");
//Or if you want to have it hide explorer every time it is relaunched.
Task.Run(() =>
{
while(1==10
{
Thread.Sleep(1);
Hide("explorer");
}
});Anyways this is a full tutorial on how to paste a working hide method. Hope you learn something from this!
Depending on the feedback I receive I will be creating more content!



![[Image: 6xBycLk.gif]](https://i.imgur.com/6xBycLk.gif)


![[Image: vp6iypF.gif]](https://i.imgur.com/vp6iypF.gif)
