Urgent: Internet Connection in Pocket PC Applicati
Hi,
I am using the following function to get the internet connection status in windows application in C# in .NET environment.
[DllImport("wininet.dll")]
private extern static bool InternetGetConnectedState( out int Description, int ReservedValue ) ;
It is returning value correctly.
But, wininet api is supposed to work under Smart Device applications also. But, when I use the same code in Smart Device Applications, it is not returning the correct value. i.e. it is always returning the value "true". Is there any other procedure to follow to use wininet functions under Smart Device Applications?
regards and Thanks
mrc
|