Content-Length: 311603 | pFad | http://github.com/0xhardcoder/process-protection/commit/e41b959cc19916b4bbbee2046af7330b15eb2ce4

34 Update README.md · 0xhardcoder/process-protection@e41b959 · GitHub
Skip to content

Commit e41b959

Browse files
authored
Update README.md
1 parent 03c21c2 commit e41b959

File tree

1 file changed

+39
-2
lines changed

1 file changed

+39
-2
lines changed

README.md

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,39 @@
1-
# process-protection
2-
Protect Processes and unprotect.
1+
# Process Protection
2+
WARNING! Requires Administrator Rights
3+
# Disclaimer
4+
TO BE USED FOR EDUCATIONAL PURPOSES ONLY
5+
6+
The use of the Process Protection is COMPLETE RESPONSIBILITY of the END-USER. Developers assume NO liability and are NOT responsible for any misuse or damage caused by this program.
7+
8+
"DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
9+
# Example
10+
````
11+
using System;
12+
using System.Diagnostics;
13+
14+
class Program
15+
{
16+
static void Main()
17+
{
18+
ProcessProtection.ProtectProcess(); //Protect current process
19+
while (true)
20+
{
21+
Console.WriteLine("Enter name of process you want to protect without .exe!");
22+
string prcname = Console.ReadLine();
23+
if (pcrname != "")
24+
{
25+
ProcessProtection.ProtectProcess(Process.GetProcessesByName(pcrname)[0]);
26+
Console.WriteLine("Protected!");
27+
}
28+
Console.WriteLine("Enter name of process you want to unprotect without .exe!");
29+
prcname = Console.ReadLine();
30+
if (pcrname != "")
31+
{
32+
ProcessProtection.UnprotectProcess(Process.GetProcessesByName(pcrname)[0]);
33+
Console.WriteLine("Unprotected!");
34+
}
35+
}
36+
37+
}
38+
}
39+
````

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/0xhardcoder/process-protection/commit/e41b959cc19916b4bbbee2046af7330b15eb2ce4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy