.NET Components for Mobility

How to send more files one time?

Last post 09-11-2008 8:33 AM by deepesh. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-18-2008 7:08 AM

    How to send more files one time?

          private void send(BluetoothDeviceInfo btDeviceInfo, string path)
            {
                BluetoothClient btClient = new BluetoothClient();
                if (btDeviceInfo.Authenticated)
                {
                    BluetoothSecurity.PairRequest(btDeviceInfo.DeviceAddress, "0000");
                }
                System.Uri uri = new Uri("obex://" + btDeviceInfo.DeviceAddress.ToString() + "/" + System.IO.Path.GetFileName(path));
                ObexWebRequest request = new ObexWebRequest(uri);
                request.ReadFile(path);
                ObexWebResponse response = (ObexWebResponse)request.GetResponse();
                response.Close();
            }

    I want to send files to the mobile, but in the way of aboveI just can send file one by one,Is there are any way to send the files together one time.  eg: I send five files to the mobile bluetooth,the mobile user just need press button  once to receive these files.

    Thanks for answer!

                                                                                                                                               zyylove2008

  • 09-11-2008 8:33 AM In reply to

    Re: How to send more files one time?

     Can any1 help? Even i have to send a list of files.

Page 1 of 1 (2 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.