C# – How to identify that a Windows Mobile 2005 device has connected to the cradle

cwindows-mobile

How to identify that Terminal (Windows Mobile 2005 ) connect to cradle ?

I need to identical in the Terminal

thank's in advance

Best Answer

If you need to do it from the device:

static public bool IsConnectedToCradle
{
  get { return SystemState.CradlePresent; }
}

PS: FWIW, in Windows Mobile terminology, the 'terminal' is usually called the 'device'.