what kind of devices?
Infrared Communication with your Mobile Phone
http://www.codeproject.com/ce/IrdaMobile.aspC# Remote Control using the Audio Port
http://www.codeproject.com/netcf/PocketBeamer.aspor if your device with some DLLs, you can use P/Invoke