Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created March 30, 2013 09:18
Show Gist options
  • Save wullemsb/5276057 to your computer and use it in GitHub Desktop.
Save wullemsb/5276057 to your computer and use it in GitHub Desktop.
Create an OData context and include a client certificate
Entities ctx = new Entities(new Uri(settings.Url));
ctx.ClientCertificate = new X509Certificate(settings.CertificatePath);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment