private void createTorrent()
        {
            creator = new TorrentCreator();

            progressDialog = new CreateTorrentProgressDialog();

            // TODO: Read the multi-tracker spec -- learn the proper way to add multiple trackers
            creator.Announces.Add(new MonoTorrentCollection <string>());
            foreach (string s in GetTrackers())
            {
                creator.Announces[0].Add(s);
            }

            creator.Comment   = Comment;
            creator.CreatedBy = "MonoTorrent";

            creator.Path = SavePath;

            creator.Hashed += OnHashed;

            TorrentCreatorAsyncResult creatorResult = creator.BeginCreate(null, BeginCreateCb);

            ResponseType cancelResult = (ResponseType)progressDialog.Run();

            if (cancelResult == ResponseType.Cancel)
            {
                creatorResult.Abort();
                try{
                    creator.EndCreate(creatorResult);
                    progressDialog.Destroy();
                } catch (Exception e) {
                    logger.ErrorException("Unable to end creation" + e.Message, e);
                }
            }
        }
		private void createTorrent()
		{
			creator = new TorrentCreator();
			
			progressDialog = new CreateTorrentProgressDialog();
			
			// TODO: Read the multi-tracker spec -- learn the proper way to add multiple trackers
			creator.Announces.Add(new MonoTorrentCollection<string>());
            		foreach(string s in GetTrackers())
            			creator.Announces[0].Add(s);
            		
			creator.Comment = Comment;
			creator.CreatedBy = "MonoTorrent";
			
			creator.Path = SavePath;

			creator.Hashed += OnHashed;
			
			TorrentCreatorAsyncResult creatorResult = creator.BeginCreate(null, BeginCreateCb);
			
			ResponseType cancelResult = (ResponseType) progressDialog.Run();
			if(cancelResult == ResponseType.Cancel){
				creatorResult.Abort();
				try{
					creator.EndCreate(creatorResult);
					progressDialog.Destroy();
				} catch (Exception e) {
					logger.ErrorException("Unable to end creation" + e.Message, e);
				}
			}
		}