Cool.
Well, see the samples in the user guide. The URI format is also described in the class documentation:
Uri must use one of the following schemes - obex, obex-push, obex-ftp, obex-sync. The host name must be the device address in short hex, or dotted hex notation ...
So, something like:
IrDAClient cli = new IrDAClient();
IrDADeviceInfo[ discovered = cli.DiscoverDevices();
IrDADeviceInfo selected = f(discovered); // method 'f' has the user select a device, or just #0 (of 1 in total?!)
String uri = "obex://" + selected.DeviceAddress.ToString() + "/" + filenameWithoutPath;
ObexWebRequest req = new ObexWebRequest(new Uri(uri));
...
...
Alan J. McFarlane
http://www.alanjmcf.me.uk/
Please follow-up in the newsgroup for the benefit of all.
Have I helped? Consider visiting my Amazon wishlist, see my homepage.