Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!Regex.IsMatch (commonName, "Apple.*?Push Services")
- && !commonName.Contains ("Website Push ID:"))
- throw new ArgumentOutOfRangeException ("Your Certificate is not a valid certificate for connecting to Apple's APNS servers");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement