How to capture inserting terminal to cradle and make this tests?
i need to check 3 things:
1. if the terminal is in the cradle
2. if i got IP
3. if there is connection to my WebService
and after this, i need to transfer data between my WebService to the terminal (Windows-mobile 6.5)
how i can do it ?
There is a namespace Microsoft.WindowsMobile.Status
In there you can find relevant information about your device.
For example, I have used the following snippet to know if an active desktop connection is present.
Also there is this property, never used it.
For the IP part.
For the connection to your webservice, you can create bool or int simple method to test if it is available.
Webservice
You just need to call the webservice.