Exemplo n.º 1
0
 //<<<<<<<<<<Disconnect from the server>>>>>>>>>>
 public void dissconnectFromServer()
 {
     try
     {
         piServer.Close();                                       // Close the connection
     }
     catch
     {
     }
 }
Exemplo n.º 2
0
        ///////Disconnect from server function//////////////////

        public void disconnectserver()
        {
            try
            {
                PI_Server.Close(); // this closes the PI_Server
            }

            catch
            {
            }
        }