How can I see how long a network card is connected to a network?
((I've got a cable connection for my internet and I want to see how long I'm connected to the internet....))
tnx
How can I see how long a network card is connected to a network?
((I've got a cable connection for my internet and I want to see how long I'm connected to the internet....))
tnx
is your cable up once you start your computer?
because you can use the "GetTickCount()" API, that'll tell you how long you're computers been up, so if your cable is connected via ethernet lan conn, then it's been up the whole time ur comp has been up
VB Code:
Private Declare Function GetTickCount Lib "kernel32" () As Long Dim ret As Long ret = GetTickCount()
thanks, i can use that!