Authenticating with v3.1.1

Jan 8, 2015 at 5:41 PM
I have created an ASP .Net project (.Net 4.5). I added the two references found from LinqToTwitter_20141124\win8. I cant seem to work out how to authenticate a user. I have seen some example but non work or i cant find the appropriate reference. Below is some code im currently using which does work and wondered if someone could advise how to get authenticated? Thanks

var auth = new SingleUserAuthorizer
            Credentials = new InMemoryCredentials
                ConsumerKey = ConfigurationManager.AppSettings["TwitterConsumerKey"],
                ConsumerSecret = ConfigurationManager.AppSettings["TwitterConsumerSecret"],
                OAuthToken = ConfigurationManager.AppSettings["TwitterAccessToken"],
                AccessToken = ConfigurationManager.AppSettings["TwitterAccessTokenSecret"]
Jan 9, 2015 at 3:56 AM

The downloadable source code has two ASP.NET demos, WebForms and MVC.