Posts: 3
Joined: Thu Mar 04, 2010 5:30 am

How to close connection.

Sat Mar 06, 2010 7:12 pm

(I am working with a P25Blue bamboo printer although i think my question is generic.)
I am developing an application in .Net Framework 3.5.
To finish the connection with the device (the printer in this case) I am using Manager.Dispose(), but when i try to connect again, it is no possible. There is an error to conect to de device service.
Must i do something else to finish the connection correctly?
Thank you very much!

Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: How to close connection.

Tue Mar 09, 2010 7:40 pm

You should only use Manager.Dispose() when you are done using the stack altogether (i.e. on application shutdown).

If you just want to close the connection just Close the Stream.


Return to “BlueTools”