// Create the object with your google api keyPageSpeedpageSpeed = newPageSpeed("your-pagespeed-api-key");// Set properties where necessairy, only the url is mandatory.pageSpeed.Locale = SupportedLanguages.English;pageSpeed.PrettyPrint = true;pageSpeed.Strategy = Strategy.Desktop;pageSpeed.Url = "http://www.microsoft.com";// If you dont want to send a server side call to the google pagespeed api, you can// use this property to go to the google pagespeed webpage// and start a test for your url.stringdirectGoogleUrl = pageSpeed.DirectGoogleUrl;// Get the page speed data for the url from the google pagespeed apiPageSpeedDatadata = pageSpeed.GetPageSpeedData();