public void Shutdown()
{
try {
if (server != null)
server.Shutdown ();
} catch {
;
} finally {
server = null;
}
try {
if (process != null) {
process.Kill ();
process.WaitForExit ();
}
} catch {
;
} finally {
process = null;
RemotingServices.Disconnect (this);
}
}