Autor Beitrag
LonghornUser
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Do 31.03.05 18:13 
Hallo mal wieder,

ich möchte auf einem WinXP-Rechner, der mit einer unbekannten Verbindung verbunden ist, eine Trennung dieser DFÜ-Verbindung vornehmen.

Ich habe schonmal nachgeforscht, aber da muss immer der name der Verbindung bekannt sein. Geht es nur so ?

Danke schonmal.

Ciao.
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Do 31.03.05 18:30 
user profile iconLonghornUser hat folgendes geschrieben:
Hallo mal wieder,

ich möchte auf einem WinXP-Rechner, der mit einer unbekannten Verbindung verbunden ist, eine Trennung dieser DFÜ-Verbindung vornehmen.

Ich habe schonmal nachgeforscht, aber da muss immer der name der Verbindung bekannt sein. Geht es nur so ?

Danke schonmal.

Ciao.


Wie willst du eine Verbindung trennen deren Namen du nicht weißt ^^. "Du, Schatzi, trenn mal eine von den Verbindungen. Du hast eine 50:50-Chance" ^^

AXMD
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Do 31.03.05 18:41 
Naja, ich dachte es gäbe einen Allroundbefehl á la DisconnectAllConnections().
Ist dem nicht so ? Gibts da nicht so was in der Richtung ?
fvolk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 203

Win XP (Home & Pro)
Delphi 2005 Pers
BeitragVerfasst: Do 31.03.05 18:46 
rasdial /disconnect trennt alle offenen DFÜ-Verbindungen.

Oder direkt im Delphi-Code:

ausblenden Delphi-Quelltext
1:
2:
3:
uses WinInet;
...
InternetAutodialHangup(0);

_________________
Nichts auf der Welt ist so gerecht verteilt wie der Verstand. Denn jedermann ist überzeugt, dass er genug davon habe.
(René Descartes)


Zuletzt bearbeitet von fvolk am Do 31.03.05 18:48, insgesamt 1-mal bearbeitet
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Do 31.03.05 18:47 
user profile iconLonghornUser hat folgendes geschrieben:
Naja, ich dachte es gäbe einen Allroundbefehl á la DisconnectAllConnections().
Ist dem nicht so ? Gibts da nicht so was in der Richtung ?


Würde es sowas geben wüssten wir's - da hätten sich bestimmt tausende Sktipkiddies drüber hergemacht ;)

AXMD