开发者

Can we write a script to do something when a dialup connection is made to my computer?

开发者 https://www.devze.com 2023-01-01 16:54 出处:网络
This is the situation, I have configured a dial up server and i want to play a sound or pop up message when a daipup connection is made to my computer from a开发者_如何学Go specific location.

This is the situation, I have configured a dial up server and i want to play a sound or pop up message when a daipup connection is made to my computer from a开发者_如何学Go specific location. and it could be done with configuration file or some script to run some exe.please give me some ideas


http://technet.microsoft.com/en-us/library/cc787690%28WS.10%29.aspx seems to be the Microsoft doc about it, but it's fairly tech and not that useful - although it mentions some tools you can use with it.

You can also check out the DotRas project on CodePlex.com, it has access to the entire Dial Up API, in C#...

http://www.codeplex.com/DotRas

Or take a look at

How do I work with dial-up (RAS) connections in Windows using C#/.NET?

for some code examples for a starting point in using the associated libraries.

0

精彩评论

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