How to check for an HTTP status code 429

429 is Too Many Requests, and I have a case where I want to detect this status code and handle it specifically.

According to these docs:

I don’t see 429.

I normally check for a particular status code using the following syntax:

if (webRequest.responseCode == (long)System.Net.HttpStatusCode.OK)
    // do something

How can I check for 429 if System.Net.HttpStatusCode does not contain a code for 429?

Never mind, I can actually just check for the long value 429.