I´m writing a C#/.NET application. Finding out if Explorer sessions are active is quite easy (same for browser sessions):
#using System.Diagnostics
public void FindExplorerSessions() {
Process[] explorerSessions =
Process.GetProcessesByName("explorer");
}
Is it possible to iterate through that array and find out which subfolders are currently open in these sessions?
And on a related topic, is it possible to find out which URL(s) are currently open in a Chrome/Firefox/whatever session?
Possible use for the browser stuff: monitor the time spent on 4chan per day/week/month (assuming that the monitor app is always running and the user closes the 4chan tabs when he is doing something else).
Well, I´m aware that such an app would be considered kinda spyware, but actually I have users requesting this feature (they want to have a reminder which tells them to get the fuck off 4chan after a couple of hours and do something productive).
Wow, you´re so edgy. I highly doubt that you started coding in C more than 20 years ago like I did. Just playing around with C# to get used to it in case some employer ever demands it. Faggot.
Name:
Anonymous2011-10-19 15:05
I KILLED DENNIS RITCHIE HOW HARDCORE IS THAT
I'M FUCKING CANCER BITCH
>>3
Man I want to believe you, but there are no code tags. Also, shouldn't you know this stuff by now? If you've been writing C for 20 years, you'd know that Windows has an API and where to look for these things (hint: /prog/ doesn't know, or care.)
Anyway, CLR is cool even if C# is dumb. Check into OS and Interop or wherever. If you're so damn awesome you'll fIHBTA fuck me.
Just playing around with C# to get used to it in case some employer ever demands it.
in case some employer ever demands it.
demands it.
C# has been around how long, your supppose to be how old school, and you think people are going to magically start demanding it now? I can't tell if your joking, or actually serious......
Hey OP, I'm writing program too. Here's what I got so far:
#using Internetz.Rules
public void OPFaggotryTest() {
Process[] isFag =
OP.FagCheck(this.Thread(">>1"));
}
For some reason I can't get it get it to iterate through the rest of the threads. Instead it just returns true on this thread and hangs. OP, can you help me out by not being such a faggot?
>>13 Question to discuss:
How is C# better than Lisp?
Stranger 2: well
Stranger 2: it's more useful
Stranger 2: and lisp is generally for hipster faggots
Stranger 2: also lisp is what gays have
Stranger 2: get it
Stranger 2: haha
Stranger 2: but seriously
Stranger 2: c# also lets you segway easily between java and C++
Stranger 2: have a nice day
Cody said she meant no harm by making the post and that she did not think anyone at her workplace would read it.
She said her Facebook page was private. However, one of her Facebook friends worked at the probate court. That person printed out the posts and showed it to Cody's bosses.
Name:
Anonymous2011-10-20 10:58
>>18
So what? I would never hire anybody having a facebook account in the first place. That's a clear sign of someone being a cretin.
>>22
You obviously don't know what you're talking about. Only a very small minority of important people in Gensokyo are fairies. Most of them are just inferior beings and danmaku fodder.
Name:
FrozenVoid2011-10-20 11:52
>>23
>important people in Gensokyo are fairies
People aren't fairies.