Home > Net >  C # 32 feet bluetooth file transfer problem
C # 32 feet bluetooth file transfer problem

Time:11-13

 
Bool result=true;
ObexWebRequest request=null;
ObexWebResponse response=null;
Request=new ObexWebRequest (device. DeviceAddress Path. The GetFileName (s));
Request. ReadFile (s);

The response=(ObexWebResponse) request. The method GetResponse ();//get response

Result=(response. StatusCode & amp; ObexStatusCode. OK!=0;
The response? The Close ();



This way, can only send one file at a time, the next time send still need to click on the mobile phone to confirm receive,

Is there any way to send multiple files?
  •  Tags:  
  • C #
  • Related