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

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -