开发者

How to hide a running process from task manager using java? [closed]

开发者 https://www.devze.com 2022-12-23 14:00 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, in开发者_StackOverflow中文版complete, overly broad, or rhetorical andcannot be reasonably answered in its cu
It's difficult to tell what is being asked here. This question is ambiguous, vague, in开发者_StackOverflow中文版complete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

I want to hide a process from task manager using java code, and tell me how to get the process id while giving the process name as input............


You can not. Not in pure java to start with. See, you are limited to thejava api.

Outside java - there are ways to do that, but they involve a LOT of ground work and in general are not worth it. One approach I know of involves writing a KERNEL DRIVER - to give you an idea how low you have to go.

But again, the answer is: you dont. Not in pure java anyway.


You can't. Java will not allow you to access system resources in way you want.
You'll need C++ / perhaps VB for that.

Purpose of Java is to build platform independent code. And Task manager is windows specific.

Different languages are built for different purposes. For System level functionality C++ is better suited. I don't think Java is the right tool for the job, even if it were possible.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号