SCANNING RUNNING PROCESSES IN C# [C-SHARP] OPEN SOURCE CODE - BUILD A BOT & TOP BOTS CODERS MISTER AND JASON JAY STILLA LEE
Labels: C#
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
namespace CheckRunningProcesses
{
class Program
{
static void Main(string[] args)
{
const string messenger = "msnmsgr";
bool runningMessenger = false;
// Get Collection of running processes from Process Static method
Process[] processes = Process.GetProcesses();
// Scan processes in the obtained collection
foreach (Process p in processes)
{
Console.WriteLine(p.ProcessName);
if (p.ProcessName == messenger)
{
runningMessenger = true;
}
}
if (runningMessenger)
{
Console.WriteLine();
Console.WriteLine();
Console.WriteLine("You have Windows Live Messenger (MSN) Running");
}
Console.ReadLine();
}
}
}
Note: The above code does not check whether you are signed in to the msn service. It just checks whether the MSN executable is running.
ReplyDeleteJay StillaJanuary 1, 2015 at 5:29 AM
ALL 2015 JAY STILLA WEB LINKS & INFO
1. http://Period1.bigcartel.com/
2. http://jaystilla.bigcartel.com/
3. http://jaystilla.bandpage.com/
4. http://topbots.blogspot.com/
5. http://jaystilla.blogspot.com/
6. http://facebook.com/jaystillabeats
7. http://facebook.com/jaystillaent
https://mtv.com/artists/JayStilla
http://www.myspace.com/Jay-Stilla
http://www.facebook.com/JayStillaBeats
http://jaystilla.bandcamp.com/
http://www.reverbnation.com/JayStilla
http://www.sound.com/JayStilla
http://www.purevolume.com/jaystilla
http://www.fandalism.com/jaystilla
http://www.youtube.com/jaystillatv
http://www.soundcloud.com/jasonsociety
http://www.fanmusic.com/jaystilla
http://www.bandpage.com/Jaystilla
https://musicbrainz.org/…/d2dcee8f-9656-4b83-9757-4e39cc9eb…
https://musicbrainz.org/…/d2dcee8f-9656-4b83-9757-4e39cc9eb…
http://www.mtv.com/artists/jay-stilla/downloads/
http://MTV.Com/JayStilla
http://www.reverbnation.com/jaystil…/…/68379-jason-society-1
https://soundcloud.com/jasonsociety/san-bernardino
INFORMATIVE BLOG LINKS & ALBUM REVIEWS
http://jaystilla.blogspot.com/
http://topbots.blogspot.com
http://periodonerecords.blogspot.com
http://buildabotshop.blogspot.com/
http://iebeats.blogspot.com/
http://imyriads.blogspot.com
http://imyriad.blogspot.com
http://krownmeking.blogspot.com
http://lvava.blogspot.com/
http://vst3plug.blogspot.com/
http://atlrappers.blogspot.com/
http://thehiphopwest.blogspot.com/
http://ezbeats.blogspot.com/
http://ezplug.blogspot.com/
http://billdollas.blogspot.com/
http://investorfinder.blogspot.com/
http://iamgoogable.blogspot.com/
http://thegodflow.blogspot.com/
http://GODFLOW.COM
RADIO & INTERNET MUSIC PLAYERS
https://itunes.apple.com/…/album/jason-society-1/id876330241 http://iTunes.Com/JayStilla
http://www.woman.com/Jason-Society-1-Jay-Stilla
http://Amazon.Com/JayStilla
http://www.rdio.com/artist/Jay_Stilla/
http://Rdio.Com/JayStilla
http://open.spotify.com/artist/5zo9ErLcrGzrDVanrpZjJb
http://plus.google.com/JAYSTILLATV
http://Google.Com/JayStilla
CLOTHING COMPANYS INC JAY STILLA DESIGNS
http://period1.bigcartel.com
http://buykmk.bigcartel.com/
http://jaystilla.bigcartel.com/
http://imyriads.bigcartel.com
BUY MUSIC, SOUNDS AND BEATS
http://youlicense.com/Artist/JayStilla
http://mtv.com/artists/JayStilla
http://mtv.com/Jay-Stilla
http://myspace.com/Jay-Stilla
http://facebook.com/JayStillaBeats
http://facebook.com/PeriodOneRecords
http://facebook.com/imyriads
http://jaystilla.bandcamp.com
http://www.reverbnation.com/JayStilla
TWITTER
http://twitter.com/JayStilla
http://twitter.com/periodonerecords
MUSIC LICENSING
http://purevolume.com/jaystilla
http://fandalism.com/jaystilla
http://youtube.com/jaystillatv
http://musicxray.com/jaystilla
http://youlicense.com/Jay-Stilla
MUSIC PAGES
http://www.soundcloud.com/jasonsociety
http://www.fanmusic.com/jaystilla
http://bandpage.com/Jaystilla
http://soundclick.com/JayStilla
http://musicxray.com/jaystilla
http://instagram.com/_Jay_Stilla
ReplyDeleteYour blog is very good. If you buying backlinks in here. We sell many backlinks indexer