Beispiel #1
0
 public void Dispose()
 {
     if (LongPoll != null)
     {
         LongPoll.Dispose();
     }
     GC.Collect();
 }
Beispiel #2
0
 public Api(string accessToken, long groupId)
 {
     Token            = accessToken;
     LongPoll         = new LongPoll();
     LongPoll._api    = this;
     LongPoll.GroupId = groupId;
     LongPoll.GetInfoLongPoll();
     Init();
 }