Using a web request approach like Web Client or Html Agility pack will not work because they make the request as an anonymous user which will only render the latest published version (and I need the latest version no matter the state.) Any thoughts?
I have everything working I just cant find a way to impersonate or elevate the rights while I execute the page requests.
I thought I’d cross post this answer of mine from Stack Overflow, as it is useful in a number of contexts.
As I mentioned there, the code was cribbed from a similar situation where I needed a URL to feed to a PDF to HTML library, which behind the scenes fired up IE on the server and hit the site as an anonymous user.
This needed to be launched from within the the Content Editor, but since the PDF library hit the site anonymously, I needed to silently login the user.
Perhaps a slightly more graceful and heartfelt tactic was the issuing of exquisitely handcrafted, paper love tokens, complete with original messages of romantic poetry, that lovers of the 18th century particularly favored.The time zone from this locale is America/New York.We have further analyzed this IP address and found that several domains name are currently mapped to it, such as johnalbright.biz, datingindustry.org, loveinjersey.com, foopedia.org, and For both Snowbirds and Property Owners, we promise and deliver all of these.Winter visitors are always welcome, and Snowbirds can find great condo rental teddigal dating and beach home rental deals specifically priced and available for for the spans of time that winter (offseason) renters need.