Partly depends on how the software was installed in the first place and what
type of device you are using. But say for example your application was
installed as a cab file on Pocket PC and appears in the Remove Programs
applet. In this case you run the unload.exe application with the fullname of
the installation package as a command line argument. You can determine this
from the Remove Programs screen or look in the registry on the device -
HKEY_LOCAL_MACHINE\SOFTWARE\Apps and it's subkeys
You can refer to the OpenNETCF SDF for Registry and Process code
(www.opennetcf.org/sdf)
e.g.
Process.Start("unload.exe","MyCompany MpApp v2")
On all Smartphone devices (and the next version of Pocket PC), the
"official" way of doing this is through calling DMProcessConfigXML with the
UnInstall CSP. Querying this CSP will also tell you what apps are
installed.