コード例 #1
0
ファイル: OSIPI.cs プロジェクト: kristinjm/VICEproject
 //<<<<<<<<<<Disconnect from the server>>>>>>>>>>
 public void dissconnectFromServer()
 {
     try
     {
         piServer.Close();                                       // Close the connection
     }
     catch
     {
     }
 }
コード例 #2
0
        ///////Disconnect from server function//////////////////

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

            catch
            {
            }
        }