Hack Community

 

Useful links: Invite your friends | Recover Password | Advertising in HC

 

{YOUR ADVERTISING BANNER HERE}

Shoutbox

December 06, 2018, 07:15:46 am _pipo_ says: Yea thats good idea can you upload random pubg mobile hacks to bring more traffic first?

December 06, 2018, 01:10:35 am THE_G says: you guys Should do some PUBG MOBILE cheats as it will bring in more traffic!  : D

December 06, 2018, 01:08:06 am THE_G says: Just Do it!

December 03, 2018, 08:06:30 pm _pipo_ says: https://www.youtube.com/watch?v=bx7HPc8kflA should i make full video? continue or nah?

November 30, 2018, 12:17:30 pm luziferk says: -0-

November 20, 2018, 12:20:49 pm Luc99 Gaming says: UPLOADET MY CSGO TOOL:http://www.hackcommunity.club/hacks-cheats-release/hc-csgo-tool/

November 13, 2018, 10:32:39 pm Hintchy says: Any pubg mobile hacks?

November 13, 2018, 06:31:28 am _pipo_ says: ayy

November 13, 2018, 05:25:04 am THE_G says: anybody remember me?

November 13, 2018, 05:24:40 am THE_G says: ayy

View Shout History

Author Topic: [VB.NET] GetProcessId  (Read 903 times)

0 Members and 0 Guests are viewing this topic.

Offline _pipo_

  • Administrator
  • 1337
  • *
  • Posts: 379
  • ❤️
  • Referrals: 2
    • View Profile
[VB.NET] GetProcessId
« on: May 21, 2018, 09:18:48 pm »
Definitions:
Code: [Select]
    Public Declare Function OpenProcess Lib "KERNEL32" (ByVal DesiredAccess As Int32, ByVal InheritHandle As Boolean, ByVal ProcessId As Int32) As Int32

    Public PROCESS_VM_OPERATION As Int32 = 8
    Public PROCESS_VM_READ As Int32 = 16
    Public PROCESS_VM_WRITE As Int32 = 32

    Private process_id As Int32 = 0
    Public pHandle As Integer = 0

Function:
Code: [Select]
    Public Function GetProcessId(ByVal game_name As String) As Boolean
        Dim Processes() As Process = Process.GetProcesses
        Dim process_name As String
        Dim i As Byte
        For i = LBound(Processes) To UBound(Processes)
            process_name = Processes(i).ProcessName
            If process_name = game_name Then
                process_id = Processes(i).Id
                pHandle = OpenProcess(PROCESS_VM_OPERATION + PROCESS_VM_WRITE + PROCESS_VM_READ, False, process_id)
                Return True
            End If
        Next
        If process_id = 0 Then
            Return False
        End If
        Return False
    End Function

Usage Example:
Code: [Select]
If GetProcessId("ros") Then
            Label1.Text = "ROS opened"
        Else
            Label1.text = "ROS closed"
        End If

Share on Facebook Share on Twitter Share on Google+


 


Tags

proxy, proxy list, vpn, combo list, how to get proxy, proxy checker, crack, netflix, hack, tutorial, gather proxy, hq, checker, leecher, proxy scraper, proxy https, best proxy services, proxy server 2017, fresh proxy list, hq combo, pc, internet, hackers, get fresh proxies, proxy socks 5, proxy socks4, fresh proxy list 2017, proxy grabber online, proxy grabber download, proxy grabber cracked, how to get a fresh proxy list, proxy grabber, proxy grabber 2017, increase website traffic, view blocked sites, fresh change location, proxy fresh, proxy hq, new proxy, how to get proxy 2017, hacking, wpa, hacker, kali, macchanger, ethical, udemy, hacking tutorial, wpa2, linux, wifi, virtualbox, tutorial, jerry banfield, vpn, jerrybanfield, nmap, banfield, jerry, cli, hackers, ethical hacking, virtual, environment, terms, proxychains, sql, vps, key, loggers, how to hack, guide, cracking, wireless, aircrack, hack, crack, course, security, penetration, carding, cc, amazon, carding with phone, creadit card, ros, without pc, with mobile, hack creadit card, how to, amazon carding, carding tutorial, bin carding, credit card, socks cheaker, spamming, mac address changer, ripping, ccleaner, rdp, socks, hma vpn, vypr vpn, zenmate, vpn, spam, what, paypal, carding forum, cardington ohio, carding wool, carding tutorial 2016, no computer, carding 2018, cashout method 2018, credit card bin, hacked cvv, amazon hacking, carding 2017, carding amazon, how to make money online, make money online, money, how to make money, online business, work from home jobs, passive income, work from home, make money, make money online 2018, how to become a millionaire, how to make money on the internet, online, income, how to make money on instagram, self improvement, best jobs, work from home careers, work at home jobs, work at home careers, work at home, side jobs, side income, online jobs, online careers, make extra money, jobs, job ideas, home based jobs, home based careers, michaelkoehler.co.uk, michael kohler, best ways to make money on instagram, how to make money on instagram with affiliate products, how to make money from instagram, how to earn money on instagram in hindi, how to make money on instagram for free, ways to make money on instagram, how to make money off instagram, how to make money on instagram 2017, cryptocurrency, crypto, bitcoin, ripple, altcoin, bitcoin news, news, blockchain, btc, cryptocurrency news, ethereum, xrp, crypto news, cryptocoinnews, tether, xrapid, altcoins, binance, suppoman, review, neo, ian balina, ico, ico review, boxmining, crypto daily, btc market, crypto boss, free crypto, ripple news today, ripple price prediction, xrp ripple, ripple xrp, ripple 2018, ripple prediction 2018, bitcoin explained, how to earn bitcoin, cme bitcoin, bitcoin cash, ripple vs bitcoin