public void Dispose()
 {
     server.Dispose();
     client.Dispose();
 }
 public void Dispose()
 {
     server.Dispose();
     client.Dispose();
     Directory.Delete(rootPath, true);
 }