Hi,
To stop a stream just call Stream.StopStream().
If your project is quite new, I would advise using Tweetinvi 0.9 (download from the SourceCode -> Development).
Version 0.8.3.x
Linvi
To stop a stream just call Stream.StopStream().
If your project is quite new, I would advise using Tweetinvi 0.9 (download from the SourceCode -> Development).
Version 0.8.3.x
var stream = new Stream(...);
Action<ITweet> tweetReceived = t =>
{
stream.StopStream();
};
stream.StartStream(token, tweetReceived);
Version 0.9var stream = Stream.CreateFilteredStream();
stream.MatchingTweetReceived += (sender, args) =>
{
stream.StopStream();
};
Please let me know if this help.Linvi