title: Send Push Notifications to Several Devices
body: <p>I'm sending push notifications to several devices using a <code>for loop</code> but now i need to send bulk push notification which means that i need to send to multiple devices at the same time </p>
  
  <p>Note that i found a for android but i still need the bulk push notification (no loop using a table of devices) for iPhone ,blackberry and windows phone and i use <code>C# or vb.net</code></p>
  
  <p>for iphone i use:</p>
  
  <pre><code>  var payload1 =new NotificationPayload();
  
  
     SyncLock lockThis
  If szPinCode &lt;&gt; "" AndAlso szPinCode &lt;&gt; "" Then
      Dim BBPushRequest As New HttpBBPushRequest(szPinCode, szMessage, szId, Me)
      BBPushRequest.Url = general.fnGetConfig("PUSH_URL")
      BBPushRequest.ApplicationID = general.fnGetConfig("PUSH_APPLICATIONID")
      BBPushRequest.UserName = general.fnGetConfig("PUSH_USERNAME")
      BBPushRequest.UserPassword = general.fnGetConfig("PUSH_USERPASSWORD")
      Dim clientThread As New Thread(AddressOf BBPushRequest.Run)
      clientThread.Start()
      fnIncrementCounter()
      bResult = True
  End If
  </code></pre>
  
  <p>End SyncLock</p>
  
  <p>but this does not take an array of devices just a single device..</p>