예제 #1
0
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            tgt = "";
            string path = "c:\\Users\\Public\\KerbTrayTGT.txt";

            FileStream   fs = new FileStream(path, FileMode.Create, FileAccess.Write);
            StreamWriter sw = new StreamWriter(fs);

            sw.WriteLine("");
            sw.Flush();
            sw.Close();
            fs.Close();

            Server.Logout();
        }
예제 #2
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     Server.Logout();
 }
예제 #3
0
 void MainWindow_Closed(object sender, EventArgs e)
 {
     Server.Logout();
 }