Get contents of a site behind cloudflare in c# -
i want contents of site behind cloudflare use
webclient webcl = new webclient(); string content = webcl.downloadstring("http://example.com");
but doesn't work shows code cloudflare , don't contain site contents
cloudflare appears blocking whatever reason. in order around need whitelist c# server in cloudflare itself or add subdomain doesn't go through cloudflare. in event ip changing, either need whitelist through cloudflare api or route through proxy static ip.
Comments
Post a Comment