Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. if (!Regex.IsMatch (commonName, "Apple.*?Push Services")
  2. && !commonName.Contains ("Website Push ID:"))
  3. 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