Page 1 of 1

How to close connection.

Posted: Sat Mar 06, 2010 7:12 pm
by natgs18
Hello!
(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!
Natalia

RE: How to close connection.

Posted: Tue Mar 09, 2010 7:40 pm
by Jonas
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.

Regards,
Jonas