elcattivo / CloudFlareUtilities

A .NET Standard Library to bypass Cloudflare's Anti-DDoS measure (JavaScript challenge) using a DelegatingHandler.
MIT License
190 stars 47 forks source link

Doesn't even compile in Visual Studio #22

Closed gte2723 closed 6 years ago

gte2723 commented 6 years ago

VSE 2013 desktop.

This doesn't even compile, let alone function. Some of the code doesn't even look like c#

"public CloudFlareClearanceException(int attempts) : this(attempts, $"Clearance failed after {attempts} attempt(s).") { }"

^ unexpected character "$"

elcattivo commented 6 years ago

Well, if you use a more up to date version of Visual Studio, it will compile. The $ character that causes you trouble is used for String Interpolation, a feature of C# 6.