Using win 32 dll in C#
I have used the function InternetGetConnectedState() to check whether the system is connected to internet. It is working Correctly.
But the Function returns the description about the connection in its out parameter (here Description) how can i print that description.
i tried printing Value in Description but it prints number.
I tried Comparing it with Return Constants but it gives Error .
The Constant Name Is undefined.
[DllImport("wininet.dll")]
private extern static bool InternetGetConnectedState(out int Description, int ReservedValue ) ;
Abhijeet Kumar
Software Engineer
Cybage Software Pvt. Ltd.
|