Anti-ATOT application written in .NET

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

911paramedic

Diamond Member
Jan 7, 2002
9,448
1
76
You are going after the wrong market, you should be selling this to the employers. You could have a gold mine on your hands.

P.S. I would like a cut for pointing you in the right direction please.
 

pyonir

Lifer
Dec 18, 2001
40,856
321
126
if you need an application to keep you away from ATOT, then you are in serious need of professional help.
 

joohang

Lifer
Oct 22, 2000
12,340
1
0


<< if you need an application to keep you away from ATOT, then you are in serious need of professional help. >>


Yes, sir.

Look who's talking.
rolleye.gif
;)
 

joohang

Lifer
Oct 22, 2000
12,340
1
0


<< You are going after the wrong market, you should be selling this to the employers. You could have a gold mine on your hands.

P.S. I would like a cut for pointing you in the right direction please.
>>


hahaha

I normally just blocked myself in the firewall. I defined a work schedule in ISA server and prohibited AT during that time. It worked very well.
 

AmigaMan

Diamond Member
Oct 12, 1999
3,644
1
0


<< Would you guys use such a thing? >>


Oh HELL yeah! I've been wasting over 4 hours here today lurking here at AT and other sites. I can't concentrate for some reason today. I love it when our internet connection goes down because I can actually get some work done.
You need to make it so that you can't disable it unless you restart your machine. And you need the ability to accept a list of websites to block but you can't rely on the user to enter them in. You'll need to recompile the code each time for us and send us the exe. It'll need to be uninstallable, un-end-taskable, and unconfigurable by the user. Unless that is, we contact you via email and explain that we NEED to get to AT for some reason or another. Then you can judge whether or not we should go to AT and if so, give us a one time use, random generated key to use that will enable the admin features so you can uninstall it or end-task it.

As you can see, I have thought long and hard on this problem. I've always had a hard time concentrating, if only you could make this for television...
 

pyonir

Lifer
Dec 18, 2001
40,856
321
126


<< Look who's talking. >>


do i need an application to quit? no. if i wanted to quit for a day, week, month, i could. we always tease that it is an addiction. it is just that, teasing.
 

joohang

Lifer
Oct 22, 2000
12,340
1
0


<< dude, how can i get another 'puter to run .net apps without installing .net on that 'puter? >>


Install the .NET framework. (~20MB)

I thought that there was a download for the basic .NET run-time libraries but I can't seem to find them.
 

joohang

Lifer
Oct 22, 2000
12,340
1
0


<<

<< Look who's talking. >>


do i need an application to quit? no. if i wanted to quit for a day, week, month, i could. we always tease that it is an addiction. it is just that, teasing.
>>


Sorry. :)

Just bugging ya based on your post count. :)
 

manly

Lifer
Jan 25, 2000
13,315
4,088
136


<<

<< How's a .Net app going to control TCP/IP in the way you suggest though? >>


I don't know. That's why I want to find out. :)
>>


Well like Descartes said, it's going to take some native code. I guess you could build all of the GUI in .Net though.

Edit:
Speaking of trust (in reply to your recent comment about the need for source code), you should read this gem.
 

joohang

Lifer
Oct 22, 2000
12,340
1
0


<<

<<

<< How's a .Net app going to control TCP/IP in the way you suggest though? >>


I don't know. That's why I want to find out. :)
>>


Well like Descartes said, it's going to take some native code. I guess you could build all of the GUI in .Net though.
>>


OK. So it will get into a whole new area I am very unfamiliar with. :)

So does this involve digging into the Win32 API? Can I access those from .NET?
 

joohang

Lifer
Oct 22, 2000
12,340
1
0


<< Edit:
Speaking of trust (in reply to your recent comment about the need for source code), you should read this gem.
>>


hahaha

Interesting read. :) Thanks.
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0


<< So does this involve digging into the Win32 API? Can I access those from .NET? >>



Sure can. Look up DllImport in System.Runtime.InteropServices. Here's a sample from a little Goggle API web service consumption program I wrote that utilized the win32 api's RegisterHotKey() so I could search via a single keystroke...

[DllImport("user32.dll")]
public static extern bool RegisterHotKey(IntPtr hWnd, int id, uint fsModifiers, uint vk);

Then I just call it as a normal routine...

RegisterHotKey(this.Handle, KEY_IDENTIFIER, MOD_CONTROL | MOD_SHIFT, KEY_S)
 

hoihtah

Diamond Member
Jan 12, 2001
5,183
0
76
haha....

by the look of your post counts...
and mine...

we all could use some help
 

joohang

Lifer
Oct 22, 2000
12,340
1
0


<<

<< So does this involve digging into the Win32 API? Can I access those from .NET? >>



Sure can. Look up DllImport in System.Runtime.InteropServices. Here's a sample from a little Goggle API web service consumption program I wrote that utilized the win32 api's RegisterHotKey() so I could search via a single keystroke...

[DllImport("user32.dll")]
public static extern bool RegisterHotKey(IntPtr hWnd, int id, uint fsModifiers, uint vk);

Then I just call it as a normal routine...

RegisterHotKey(this.Handle, KEY_IDENTIFIER, MOD_CONTROL | MOD_SHIFT, KEY_S)
>>


Nice! :) It makes no sense to me at the moment, but you got me excited. :)

Will you (or anyone) recommend me any good books on the Win32 API?
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0


<< Will you (or anyone) recommend me any good books on the Win32 API? >>



There aren't (m)any that cover the entire API, but here are some excellent resources that cover some of the more salient facets...

Programming Windows, The Definitive Guide to the Win32 API. This book heavily focuses on creating GUIs using the straight win32 api. Highly recommended if you like C. Also, pick up his new book! It focuses heavily on Windows Forms, but it's a good read.

Programming Applications for Microsoft Windows. Arguably one of the best resources Windows developers have. Also, pick up his new book!!! This is a developer imperative. :D

There are many more, but these are the best I've read. :D