Redth/APNS-Sharp — Issue #30: A first chance exception of type 'System.Security.Authentication.AuthenticationException' occurred in System.dll
Author: Jignesh234
Created: 2012-01-24 10:20:15+00:00
State: open

Hi,

I have used your code and I have added the code of program.cs of "JdSoft.Apple.Apns.Test" in my page in page load. I have kept the p12 file in the same directory as the application in a folder named "documents" and give the path to the file from there.

Now when i run the application, it goes on running and running without any error. In my output window I get the above error many times. It goes on giving above error every time when "System.Threading.Thread.Sleep(sleepBetweenNotifications);" is executed and when "service.Close();" is executed. I don't know what am I missing. Am I missing some steps?