public void Init(string sessionId, string url, TransferTaskMode mode)
 {
     using (var configuration = NSUrlSessionConfiguration.BackgroundSessionConfiguration(sessionId))
     {
         _mode      = mode;
         _sessionId = sessionId;
         _url       = url;
         session    = NSUrlSession.FromConfiguration(configuration);
     }
 }
 public void Init(string sessionId, string url, TransferTaskMode mode)
 {
     using (var configuration = NSUrlSessionConfiguration.BackgroundSessionConfiguration(sessionId))
     {
         _mode = mode;
         _sessionId = sessionId;
         _url = url;
         session = NSUrlSession.FromConfiguration(configuration);
     }
 }