//<<<<<<<<<<Disconnect from the server>>>>>>>>>> public void dissconnectFromServer() { try { piServer.Close(); // Close the connection } catch { } }
///////Disconnect from server function////////////////// public void disconnectserver() { try { PI_Server.Close(); // this closes the PI_Server } catch { } }