need experts help
-
Hi well i am meaking a software .... and i want to send an email through it ... yes i know the code to send an email ... but how can my software know's that weather the computer is connected with the internet ... because it will send email automactily after 5 minutes ... soo my question is that how my software know's that weather the computer is connected with internet... Best Regaurds. Mazhar Hussain
-
Hi well i am meaking a software .... and i want to send an email through it ... yes i know the code to send an email ... but how can my software know's that weather the computer is connected with the internet ... because it will send email automactily after 5 minutes ... soo my question is that how my software know's that weather the computer is connected with internet... Best Regaurds. Mazhar Hussain
Hi, Checkout WinInet.dll ... a win32 dll ... It contains a method named GetConnectionState()...(if I'm not wrong)... Use this to verify whether the internet connection is live or not... For more info check out this link click here regards, Aryadip. Cheers !! and have a Funky day !!
-
Hi, Checkout WinInet.dll ... a win32 dll ... It contains a method named GetConnectionState()...(if I'm not wrong)... Use this to verify whether the internet connection is live or not... For more info check out this link click here regards, Aryadip. Cheers !! and have a Funky day !!
Hi well as you say that it can be done by using winInet.dll ... i agree with you .... but i forgot to tell you that i am working in c# ... and can i get the same method in c#.... one more thing that is one of my friend tell me that you can do this by broadcasting ip address.... well what you say about this ....? Mazhar Hussain
-
Hi well as you say that it can be done by using winInet.dll ... i agree with you .... but i forgot to tell you that i am working in c# ... and can i get the same method in c#.... one more thing that is one of my friend tell me that you can do this by broadcasting ip address.... well what you say about this ....? Mazhar Hussain
Hi, In C# you can use WinInet.dll directly by using DllImport command. C# gives you facility to use any Win32 dll in itz code. The code for using winInet.dll is : This code is used for declaring the method : [DllImport("wininet.dll", CharSet = CharSet.Auto)] public static extern bool InternetGetConnectedState(ref uint ulFlags, uint ulReserved); Well I nedd to find out about broadcasting of IPs... will let you know shortly... regards, Aryadip. Cheers !! and have a Funky day !!